--TEST-- RarArchive get iterator on closed file --SKIPIF-- --FILE-- close(); foreach ($rarF as $k => $rarE) { echo "$k. $rarE\n"; unset($rarE); } echo "Done.\n"; --EXPECTF-- Fatal error: main(): The archive is already closed, cannot give an iterator in %s on line %d