--TEST-- Phar::mapPhar too many manifest entries --SKIPIF-- --INI-- phar.require_hash=0 detect_unicode=0 --FILE-- "; $file .= (binary) pack(b'VVnVVV', 500, 500, 0x1000, 0x00000000, 0, 0) . (binary) str_repeat((binary)'A', 500); file_put_contents(dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php', $file); try { include dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; } catch (Exception $e) { echo $e->getMessage(); } ?> --CLEAN-- --EXPECTF-- internal corruption of phar "%s009.phar.php" (too many manifest entries for size of manifest)