#20013 [Opn->Bgs]: output buffering problem
| From: | monte at ispi dot net | Date: | Mon, 21 Oct 2002 16:06:48 +0000 |
| Subject: | #20013 [Opn->Bgs]: output buffering problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22977@lists.php.net to get a copy of this message | ||
ID: 20013
User updated by: monte@ispi.net
Reported By: monte@ispi.net
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: Solaris 8 Sparc
PHP Version: 4.2.3
New Comment:
ignore, output_buffering was enabled in the php.ini which caused the
problem
Previous Comments:
------------------------------------------------------------------------
[2002-10-21 11:02:14] monte@ispi.net
Execute this from the command line:
<?php
ob_start();
ob_end_clean();
echo "DONE\n";
sleep(2);
?>
In PHP 4.2.2, you would see the "DONE" text right away, before the
sleep(2) processes. In PHP 4.2.3, the "DONE" text does not appear until
the execution of the script has ended. Putting a flush() statement
after the echo does not help.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20013&edit=1