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/03-add_stream.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 examples/03-add_stream.php (limited to 'examples/03-add_stream.php') diff --git a/examples/03-add_stream.php b/examples/03-add_stream.php new file mode 100644 index 0000000..68895b3 --- /dev/null +++ b/examples/03-add_stream.php @@ -0,0 +1,24 @@ +add_stream('example.php', $src); + +# close input stream +fclose($src); + +# finalize the output stream +$zip->close(); -- cgit v1.2.3