mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
- Bug 45392 was never fixed in PHP_5_2
This commit is contained in:
@@ -374,7 +374,6 @@ PHP NEWS
|
||||
(Kalle, oleg dot grenrus at dynamoid dot com)
|
||||
- Fixed bug #45405 (snmp extension memory leak).
|
||||
(Federico Cuello, Rodrigo Campos)
|
||||
- Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). (Arnaud)
|
||||
- Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). (Ilia)
|
||||
- Fixed bug #45373 (php crash on query with errors in params). (Felipe)
|
||||
- Fixed bug #45352 (Segmentation fault because of tick function on second
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
--TEST--
|
||||
Bug #45392 (ob_start()/ob_end_clean() and memory_limit)
|
||||
--INI--
|
||||
display_errors=stderr
|
||||
--FILE--
|
||||
<?php
|
||||
echo __LINE__ . "\n";
|
||||
ini_set('memory_limit', 100);
|
||||
ob_start(NULL, 10);
|
||||
echo __LINE__ ."\n";
|
||||
ob_start();
|
||||
$i = 0;
|
||||
while($i++ < 5000) {
|
||||
echo str_repeat("may not be displayed ", 42);
|
||||
}
|
||||
ob_end_flush();
|
||||
ob_end_clean();
|
||||
?>
|
||||
--EXPECTF--
|
||||
2
|
||||
Fatal error: Allowed memory size of %d bytes exhausted%s
|
||||
Reference in New Issue
Block a user