From b520b6459d7b5a3dfb31c1b3febf02887bb07505 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 2 Sep 2018 13:16:16 -0400 Subject: add examples --- examples/01-simple.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/01-simple.php (limited to 'examples/01-simple.php') diff --git a/examples/01-simple.php b/examples/01-simple.php new file mode 100644 index 0000000..a01e0f8 --- /dev/null +++ b/examples/01-simple.php @@ -0,0 +1,16 @@ +add_file('hello.txt', 'hello world!'); + +# finalize the output stream +$zip->close(); -- cgit v1.2.3