£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyʦ•ꎅȮFÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~芩ÊǍí`ÔÑ©ú뙵'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶êםӼ㞪éUWŸÈË%DÒÕ¬ï‘]/Åcx ‰ï2ß]ä6G[]S£Ôϯrs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ ¯¹ægƒÛowЍø^d™ý½ßB7áyMä9ÜÖUã !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --TEST-- RarArchive count elements handler test --SKIPIF-- --FILE-- close(); var_dump(count($a)); echo "\n* Closed file test (2):\n"; $a = RarArchive::open($f); $a->getEntries(); $a->close(); var_dump(count($a)); echo "\n* Closed file test (3, exceptions):\n"; $a = RarArchive::open($f); RarException::setUsingExceptions(true); $a->getEntries(); $a->close(); try { var_dump(count($a)); } catch (RarException $e) { echo "OK, threw exception with message \"".$e->getMessage()."\"\n"; } RarException::setUsingExceptions(false); echo "\n* Empty file:\n"; $a = RarArchive::open($fempty); echo "Count: " . count($a) . "\n"; echo "\n"; echo "Done.\n"; --EXPECTF-- * Normal test: Count: 13 * Closed file test (1): Warning: %s(): The archive is already closed in %s on line %d int(0) * Closed file test (2): Warning: %s(): The archive is already closed in %s on line %d int(0) * Closed file test (3, exceptions): OK, threw exception with message "The archive is already closed" * Empty file: Count: 0 Done.