summaryrefslogtreecommitdiff
path: root/ext/zip/examples/get_set_comments.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/examples/get_set_comments.php')
-rw-r--r--ext/zip/examples/get_set_comments.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/zip/examples/get_set_comments.php b/ext/zip/examples/get_set_comments.php
index 600b51138d..a9faf08f33 100644
--- a/ext/zip/examples/get_set_comments.php
+++ b/ext/zip/examples/get_set_comments.php
@@ -7,9 +7,9 @@ $z->open('t.zip');
print_r($z);
for ($i=0; $i<$z->numFiles; $i++) {
- echo "index: $i\n";
- print_r($z->getCommentIndex($i));
- echo "\n\n";
+ echo "index: $i\n";
+ print_r($z->getCommentIndex($i));
+ echo "\n\n";
}
echo "foobar/ " . $z->getCommentName('foobar/') . "\n";
@@ -22,9 +22,9 @@ $z->setCommentName('foobar/', 'new comment foobar/');
$z->setArchiveComment( 'new archive comment');
for ($i=0; $i<$z->numFiles; $i++) {
- echo "index: $i\n";
- print_r($z->getCommentIndex($i));
- echo "\n\n";
+ echo "index: $i\n";
+ print_r($z->getCommentIndex($i));
+ echo "\n\n";
}
echo $z->getCommentName('foobar/') . "\n";