$archive = new PclZip($file);
$archive_files = $archive->extract(PCLZIP_OPT_EXTRACT_AS_STRING);
$zip = new ZipArchive();
$filename = "test.zip";
if ($zip->open($filename)!==TRUE) {
die("cannot open <$filename>\n");
}
$zip = zip_open("/tmp/test2.zip");
if ($zip) {
while ($zip_entry = zip_read($zip)) {
// do something
}
}
$zip = new ZipArchive;
$zip->open('test.zip');
$zip->extractTo($destination_folder);
$zip->close();