Lines Matching refs:zip
5 if(!extension_loaded('zip')) die('skip');
11 $file = $dirname . '__property_test.zip';
13 copy($dirname . 'test_with_comment.zip', $file);
15 $zip = new ZipArchive;
16 if (!$zip->open($file)) {
20 printf("zip->status (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->status, empty($zip->status), isse…
21 printf("zip->numFiles (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->numFiles, empty($zip->numFiles)…
22 printf("zip->bogus (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->bogus, empty($zip->bogus), isset($…
25 $zip->addEmptyDir('emptydir');
27 printf("zip->status (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->status, empty($zip->status), isse…
28 printf("zip->numFiles (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->numFiles, empty($zip->numFiles)…
29 printf("zip->filename (%d):\n\tempty(): %d\n\tisset(): %d\n", strlen($zip->filename), empty($zip->f…
30 printf("zip->comment (%d):\n\tempty(): %d\n\tisset(): %d\n", strlen($zip->comment), empty($zip->com…
32 unset($zip); //close the file before unlinking
36 zip->status (0):
39 zip->numFiles (4):
44 zip->bogus (0):
47 zip->status (0):
50 zip->numFiles (5):
53 zip->filename (%d):
56 zip->comment (19):