1--TEST--
2zip_entry_filesize() function
3--EXTENSIONS--
4zip
5--FILE--
6<?php
7$zip = zip_open(__DIR__."/test_procedural.zip");
8if (!is_resource($zip)) die("Failure");
9$entries = 0;
10while ($entry = zip_read($zip)) {
11  echo zip_entry_filesize($entry)."\n";
12}
13zip_close($zip);
14
15?>
16--EXPECTF--
17Deprecated: Function zip_open() is deprecated in %s on line %d
18
19Deprecated: Function zip_read() is deprecated in %s on line %d
20
21Deprecated: Function zip_entry_filesize() is deprecated in %s on line %d
225
23
24Deprecated: Function zip_read() is deprecated in %s on line %d
25
26Deprecated: Function zip_entry_filesize() is deprecated in %s on line %d
274
28
29Deprecated: Function zip_read() is deprecated in %s on line %d
30
31Deprecated: Function zip_entry_filesize() is deprecated in %s on line %d
320
33
34Deprecated: Function zip_read() is deprecated in %s on line %d
35
36Deprecated: Function zip_entry_filesize() is deprecated in %s on line %d
3727
38
39Deprecated: Function zip_read() is deprecated in %s on line %d
40
41Deprecated: Function zip_close() is deprecated in %s on line %d
42