Lines Matching refs:zip
5 if(!extension_loaded('zip')) die('skip');
10 $file = $dirname . 'test_with_comment.zip';
12 $zip = new ZipArchive;
13 if (!$zip->open($file)) {
16 echo $zip->getArchiveComment() . "\n";
18 $idx = $zip->locateName('foo');
19 echo $zip->getCommentName('foo') . "\n";
20 echo $zip->getCommentIndex($idx);
22 echo $zip->getCommentName('') . "\n";
23 echo $zip->getCommentName() . "\n";
25 $zip->close();