1234567891011121314151617181920212223 |
- --TEST--
- zip_entry_open() function
- --EXTENSIONS--
- zip
- --FILE--
- <?php
- $zip = zip_open(__DIR__."/test_procedural.zip");
- $entry = zip_read($zip);
- echo zip_entry_open($zip, $entry, "r") ? "OK" : "Failure";
- zip_entry_close($entry);
- zip_close($zip);
- ?>
- --EXPECTF--
- Deprecated: Function zip_open() is deprecated in %s on line %d
- Deprecated: Function zip_read() is deprecated in %s on line %d
- Deprecated: Function zip_entry_open() is deprecated in %s on line %d
- OK
- Deprecated: Function zip_entry_close() is deprecated in %s on line %d
- Deprecated: Function zip_close() is deprecated in %s on line %d
|