|
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 13:50 UTC Return to Bug #55509 | Download this patchThis patch is obsolete Obsoleted by 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');
}
?>
--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
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 12:00:01 2025 UTC |