mirror of
https://github.com/php/php-src.git
synced 2024-10-01 23:06:11 +00:00
2964547bf9
- generalize error message expectation
16 lines
382 B
PHP
16 lines
382 B
PHP
--TEST--
|
|
output buffering - memory exhaustion (segv, memory_limit>200k)
|
|
--SKIPIF--
|
|
<?php
|
|
function_exists("memory_get_usage") or die("skip need --enable-memory-limit\n");
|
|
?>
|
|
--INI--
|
|
output_buffering=1
|
|
memory_limit=500k
|
|
--FILE--
|
|
<?php
|
|
while(true) echo "foo";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Allowed memory size of %d bytes exhausted at %s:%d (tried to allocate %d bytes) in %s on line %d
|