xref: /php-src/ext/zip/examples/comment.php (revision 719447d3)
1<?php
2$z = new ZipArchive;
3$z->open('test_with_comment.zip');
4// Add "Foo Comment" as comment for the foo entry
5$z->setCommentName('foo', 'Too Comment ' . time());
6$z->close();
7