--TEST-- RarArchive::open() volume callback long return (case MAXPATHLEN > NM) --SKIPIF-- 2048)) die("skip test is for systems where MAXPATHLEN > 2048"); $rp = dirname(__FILE__) . "/" . str_repeat("a", 2048); if (strlen(dirname(__FILE__) > PHP_MAXPATHLEN - 1)) die("skip current directory is too deep."); --FILE-- getEntries(); echo "Done.\n"; --EXPECTF-- Warning: RarArchive::getEntries(): Resolved path is too big for the unRAR library in %s on line %d Warning: RarArchive::getEntries(): ERAR_EOPEN (file open error) in %s on line %d Done.