diff options
Diffstat (limited to 'ext/zip/tests/utils.inc')
-rw-r--r-- | ext/zip/tests/utils.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/zip/tests/utils.inc b/ext/zip/tests/utils.inc index 6d5049e558..93158b05b2 100644 --- a/ext/zip/tests/utils.inc +++ b/ext/zip/tests/utils.inc @@ -1,4 +1,11 @@ <?php +function dump_entries_name($z) { + for($i=0; $i<$z->numFiles; $i++) { + $sb = $z->statIndex($i); + echo $i . ' ' . $sb['name'] . "\n"; + } +} + function verify_entries($zip, $entries = []) { $verified = true; $found = []; |