![]() |
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch bug55509.phpt for Reproducible crash Bug #55509Patch version 2011-09-06 14:01 UTC Return to Bug #55509 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions:Developer: laruence@php.net--TEST-- Bug #55509 (segfault on x86_64 using more than 2G memory) --SKIPIF-- <?php if( substr(PHP_OS, 0, 3) == 'WIN'){ die('skip Not for Windows'); } if (PHP_INT_SIZE == 4) { die('skip Not for 32-bits OS'); } ?> --INI-- memory_limit=3G --FILE-- <?php file_get_contents("/dev/zero"); ?> --EXPECTF-- Fatal error: Allowed memory size of %d bytes exhausted (tried to allocate %d bytes) in %s/bug55509.php on line %d |
![]() All rights reserved. |
Last updated: Tue Apr 01 04:01:28 2025 UTC |