Lines Matching refs:zip
6 if(!extension_loaded('zip')) die('skip');
12 $file = $dirname . '__property_test.zip';
14 copy($dirname . 'test_with_comment.zip', $file);
16 $zip = new ZipArchive;
17 if (!$zip->open($file)) {
21 printf("zip->status (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->status, empty($zip->status), isse…
22 printf("zip->numFiles (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->numFiles, empty($zip->numFiles)…
23 printf("zip->bogus (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->bogus, empty($zip->bogus), isset($…
26 $zip->addEmptyDir('emptydir');
28 printf("zip->status (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->status, empty($zip->status), isse…
29 printf("zip->numFiles (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->numFiles, empty($zip->numFiles)…
30 printf("zip->filename (%d):\n\tempty(): %d\n\tisset(): %d\n", strlen($zip->filename), empty($zip->f…
31 printf("zip->comment (%d):\n\tempty(): %d\n\tisset(): %d\n", strlen($zip->comment), empty($zip->com…
33 unset($zip); //close the file before unlinking
37 zip->status (0):
40 zip->numFiles (4):
45 zip->bogus (0):
48 zip->status (0):
51 zip->numFiles (5):
54 zip->filename (%d):
57 zip->comment (19):