diff options
author | SVN Migration <svn@php.net> | 2006-10-15 21:09:28 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2006-10-15 21:09:28 +0000 |
commit | 88ec761548b66f58acc1a86cdd0fc164ca925476 (patch) | |
tree | d0af978fa00d83bb1d82c613f66477fbd6bb18aa /ext/zip/examples/extract.php | |
parent | 268984b4787e797db6054313fc9ba3b9e845306e (diff) | |
download | php-git-PECL_OPENSSL.tar.gz |
This commit was manufactured by cvs2svn to create branch 'PECL_OPENSSL'.PECL_OPENSSL
Diffstat (limited to 'ext/zip/examples/extract.php')
-rw-r--r-- | ext/zip/examples/extract.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/ext/zip/examples/extract.php b/ext/zip/examples/extract.php deleted file mode 100644 index 696502ba12..0000000000 --- a/ext/zip/examples/extract.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php -$zip = new ZipArchive(); - -echo $zip->filename . "\n"; -$zip->open("test.zip"); -/* -$zip->addFile("./modules/"); -$zip->addFile("./testempty"); -*/ -echo $zip->status . "\n"; -echo $zip->statusSys . "\n"; - -echo $zip->numFiles . "\n"; -echo $zip->filename . "\n"; -var_dump($zip); -$files = array('test', 'testdir/test2'); -if (!$zip->extractTo("./testext/path/to", $files)) { - echo "error!\n"; - echo $zip->status . "\n"; - echo $zip->statusSys . "\n"; - -} - -$zip->close(); |