--TEST-- Bug #7658 (modify archive with general bit flag 3 set) --SKIPIF-- --FILE-- open($file)) { echo 'failed'; } $zip->deleteName('content.xml'); $zip->addFile($dirname . "bug7658.xml","content.xml"); $zip->close(); echo "\n"; $zip->open($file); for($i=0; $i < $zip->numFiles; $i++) { $sb = $zip->statIndex($i); $found[] = $sb['name']; } $ar = array_diff($found, $expect); var_dump($ar); unset($zip); unlink($file); ?> --EXPECTF-- array(0) { }