--TEST-- rar_close() liberates resource (PECL bug #9649) --SKIPIF-- --FILE-- extract("."); unlink(dirname(__FILE__).'/temp.rar'); echo "Done\n"; ?> --EXPECTF-- RAR Archive "%s" RarEntry for file "1.txt" (a0de71c0) RAR Archive "%s" (closed) Warning: RarEntry::extract(): The archive is already closed in %s on line %d Done