php-src/ext/zip/tests/zip_entry_compressionmethod.phpt
Peter Kokot 0eabd5231b Remove unused Git ident attributes from zip extension
$Id attributes were used with SVN. With Git most of the Git ident
attributes in source code files are not used anymore.
2018-07-27 15:49:34 +02:00

23 lines
386 B
PHP

--TEST--
zip_entry_compressionmethod() function
--SKIPIF--
<?php
if(!extension_loaded('zip')) die('skip');
?>
--FILE--
<?php
$zip = zip_open(dirname(__FILE__)."/test_procedural.zip");
if (!is_resource($zip)) die("Failure");
$entries = 0;
while ($entry = zip_read($zip)) {
echo zip_entry_compressionmethod($entry)."\n";
}
zip_close($zip);
?>
--EXPECT--
stored
stored
stored
deflated