#45392 [Asn->Csd]: ob_start()/ob_end_clean() and memory_limit
| From: | jani@php.net | Date: | Thu, 07 May 2009 13:36:11 +0000 |
| Subject: | #45392 [Asn->Csd]: ob_start()/ob_end_clean() and memory_limit | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136939@lists.php.net to get a copy of this message | ||
ID: 45392
Updated by: jani@php.net
Reported By: flebron at bumeran dot com
-Status: Assigned
+Status: Closed
Bug Type: Output Control
Operating System: *
PHP Version: 5CVS-2008-11-01
Assigned To: iliaa
Previous Comments:
------------------------------------------------------------------------
[2009-04-30 11:59:26] hwallenstone at gmx dot de
Changelog for 5.2.7 states this Bug as "Fixed", although it still there
in 5.2.8. As it never went into 5.2, the Changelog should be changed.
------------------------------------------------------------------------
[2008-12-01 20:45:56] iliaa@php.net
Works fine for me using your example script in 5.3, the patch never
went
into 5.2 as it is a little risky for a stable release.
------------------------------------------------------------------------
[2008-11-02 13:58:27] jani@php.net
The test for this bug fails in both branches.
------------------------------------------------------------------------
[2008-09-17 00:20:51] iliaa@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2008-07-14 11:26:09] jani@php.net
This slightly modified script shows the bug without massive output:
<?php
ini_set('memory_limit', 100);
ob_start();
$i = 0;
while($i++ < 5000) {
echo str_repeat("lol", 42);
}
ob_end_clean();
?>
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/45392
--
Edit this bug report at http://bugs.php.net/?id=45392&edit=1