summaryrefslogtreecommitdiff
path: root/ext/zip/examples/oldapi.php
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
committerSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
commit88ec761548b66f58acc1a86cdd0fc164ca925476 (patch)
treed0af978fa00d83bb1d82c613f66477fbd6bb18aa /ext/zip/examples/oldapi.php
parent268984b4787e797db6054313fc9ba3b9e845306e (diff)
downloadphp-git-PECL_OPENSSL.tar.gz
This commit was manufactured by cvs2svn to create branch 'PECL_OPENSSL'.PECL_OPENSSL
Diffstat (limited to 'ext/zip/examples/oldapi.php')
-rw-r--r--ext/zip/examples/oldapi.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/ext/zip/examples/oldapi.php b/ext/zip/examples/oldapi.php
deleted file mode 100644
index 2f17f43ebd..0000000000
--- a/ext/zip/examples/oldapi.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-$zip = zip_open('examples/test1.zip');
-var_dump($zip);
-
-if ($zip) {
- $i = 0;
- while ($zip_entry = zip_read($zip)) {
- var_dump($zip_entry);
- $txt = zip_entry_read($zip_entry, 10);
- echo $i . ": " . $txt . "size: " . zip_entry_filesize($zip_entry) .
- "comp_method: " . zip_entry_compressionmethod($zip_entry) .
- "\n";
- $i++;
- }
- var_dump($zip_entry);
-}