Lines Matching refs:zip
5 if(!extension_loaded('zip')) die('skip');
15 $file = $dirname . 'test.zip';
21 $zip = new ZipArchive();
22 if (!$zip->open($file, ZipArchive::CREATE | ZipArchive::OVERWRITE)) {
28 if (!$zip->addGlob($dirname . 'foo.*', GLOB_BRACE, $options)) {
39 if (!$zip->addGlob($dirname . 'bar.*', GLOB_BRACE, $options)) {
42 if ($zip->status == ZIPARCHIVE::ER_OK) {
43 $zip->close();
45 $zip = new ZipArchive();
46 $zip->open($file);
47 for($i=0; $i<$zip->numFiles; $i++) {
48 $sb = $zip->statIndex($i);