1--TEST-- 2zip_entry_compressedsize() function 3--SKIPIF-- 4<?php 5if(!extension_loaded('zip')) die('skip'); 6?> 7--FILE-- 8<?php 9$zip = zip_open(__DIR__."/test_procedural.zip"); 10if (!is_resource($zip)) die("Failure"); 11$entries = 0; 12while ($entry = zip_read($zip)) { 13 echo zip_entry_compressedsize($entry)."\n"; 14} 15zip_close($zip); 16 17?> 18--EXPECTF-- 19Deprecated: Function zip_open() is deprecated in %s on line %d 20 21Deprecated: Function zip_read() is deprecated in %s on line %d 22 23Deprecated: Function zip_entry_compressedsize() is deprecated in %s on line %d 245 25 26Deprecated: Function zip_read() is deprecated in %s on line %d 27 28Deprecated: Function zip_entry_compressedsize() is deprecated in %s on line %d 294 30 31Deprecated: Function zip_read() is deprecated in %s on line %d 32 33Deprecated: Function zip_entry_compressedsize() is deprecated in %s on line %d 340 35 36Deprecated: Function zip_read() is deprecated in %s on line %d 37 38Deprecated: Function zip_entry_compressedsize() is deprecated in %s on line %d 3924 40 41Deprecated: Function zip_read() is deprecated in %s on line %d 42 43Deprecated: Function zip_close() is deprecated in %s on line %d 44