Lines Matching refs:zip
4 zip
9 $file = $dirname . '__property_test.zip';
11 copy($dirname . 'test_with_comment.zip', $file);
13 $zip = new ZipArchive;
14 if (!$zip->open($file)) {
18 printf("zip->status (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->status, empty($zip->status), isse…
19 printf("zip->numFiles (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->numFiles, empty($zip->numFiles)…
20 printf("zip->bogus (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->bogus, empty($zip->bogus), isset($…
23 $zip->addEmptyDir('emptydir');
25 printf("zip->status (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->status, empty($zip->status), isse…
26 printf("zip->numFiles (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->numFiles, empty($zip->numFiles)…
27 printf("zip->filename (%d):\n\tempty(): %d\n\tisset(): %d\n", strlen($zip->filename), empty($zip->f…
28 printf("zip->comment (%d):\n\tempty(): %d\n\tisset(): %d\n", strlen($zip->comment), empty($zip->com…
30 unset($zip); //close the file before unlinking
34 zip->status (0):
37 zip->numFiles (4):
42 zip->bogus (0):
45 zip->status (0):
48 zip->numFiles (5):
51 zip->filename (%d):
54 zip->comment (19):