--TEST-- rar_entry_get() non-existent file with exceptions --SKIPIF-- --FILE-- getEntry('nonexistentfile.txt'); } catch (RarException $re) { echo "Message: " . $re->getMessage()."\n"; echo "Code: " . $re->getCode() ."\n"; } echo "Done.\n"; --EXPECTF-- Message: cannot find file "nonexistentfile.txt" in Rar archive "%slatest_winrar.rar" Code: -1 Done.