--TEST-- Bug #55509 (segfault on x86_64 using more than 2G memory) --SKIPIF-- nul")); $freeMemory = explode('=', $s)[1]*1; if ($freeMemory < 2.1*1024*1024) { die('skip Not enough memory.'); } } ?> --INI-- memory_limit=2100M --FILE-- --EXPECTF-- 1 2 3 4 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %sbug55509.php on line %d