aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2018-09-03 06:49:06 -0400
committerPaul Duncan <pabs@pablotron.org>2018-09-03 09:54:50 -0400
commit50b7a1e8d2ab53ab08a84a704c1f4332756bcb2b (patch)
treed29ab6c06fb92e71edfc9d2576d0eebb06267cc4 /examples
parentf054c511e79101e1797d088ddb003bb323ab191d (diff)
downloadzipstream-php-50b7a1e8d2ab53ab08a84a704c1f4332756bcb2b.tar.bz2
zipstream-php-50b7a1e8d2ab53ab08a84a704c1f4332756bcb2b.zip
add examples/09-version
Diffstat (limited to 'examples')
-rw-r--r--examples/09-version.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/09-version.php b/examples/09-version.php
new file mode 100644
index 0000000..6360f94
--- /dev/null
+++ b/examples/09-version.php
@@ -0,0 +1,7 @@
+<?php
+declare(strict_types = 1);
+
+require_once __DIR__ . '/../src/ZipStream.php';
+
+# print zipstream version
+echo \Pablotron\ZipStream\VERSION . "\n";