mirror of
https://github.com/php/php-src.git
synced 2024-12-11 19:04:38 +08:00
7 lines
177 B
PHP
7 lines
177 B
PHP
<?php
|
|
$z = new ZipArchive;
|
|
$z->open('test_with_comment.zip');
|
|
// Add "Foo Comment" as comment for the foo entry
|
|
$z->setCommentName('foo', 'Too Comment ' . time());
|
|
$z->close();
|