summaryrefslogtreecommitdiff
path: root/ext/zip/tests/utils.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/tests/utils.php')
-rw-r--r--ext/zip/tests/utils.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/zip/tests/utils.php b/ext/zip/tests/utils.php
new file mode 100644
index 0000000000..41a2791266
--- /dev/null
+++ b/ext/zip/tests/utils.php
@@ -0,0 +1,8 @@
+<?php
+/* $Id$ */
+function dump_entries_name($z) {
+ for($i=0; $i<$z->numFiles; $i++) {
+ $sb = $z->statIndex($i);
+ echo $i . ' ' . $sb['name'] . "\n";
+ }
+}