£Á°è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-- RarEntry::extract NULL can be given to indicate there's no password --SKIPIF-- --CLEAN-- extract('', $dest); var_dump($result); echo "\n* NULL given (should have the same effect as no password):\n"; $result = $e->extract('', $dest, NULL); var_dump($result); echo "\n* empty string given as password (should have the same ". "effect as no password):\n"; $result = $e->extract('', $dest, ''); var_dump($result); echo "\n* password given; a wrong one:\n"; $result = $e->extract('', $dest, 'wrongpassword'); var_dump($result); break; } echo "\n"; echo "Done.\n"; --EXPECTF-- * No password given: Warning: RarEntry::extract(): ERAR_MISSING_PASSWORD (password needed but not specified) in %s on line %d bool(false) * NULL given (should have the same effect as no password): Warning: RarEntry::extract(): ERAR_MISSING_PASSWORD (password needed but not specified) in %s on line %d bool(false) * empty string given as password (should have the same effect as no password): Warning: RarEntry::extract(): ERAR_MISSING_PASSWORD (password needed but not specified) in %s on line %d bool(false) * password given; a wrong one: Warning: RarEntry::extract(): ERAR_BAD_DATA in %s on line %d bool(false) Done.