php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20013 output buffering problem
Submitted: 2002-10-21 11:02 UTC Modified: 2002-10-21 11:06 UTC
From: monte at ispi dot net Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.2.3 OS: Solaris 8 Sparc
Private report: No CVE-ID: None
 [2002-10-21 11:02 UTC] monte at ispi dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-21 11:06 UTC] monte at ispi dot net
ignore, output_buffering was enabled in the php.ini which caused the problem
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 17:01:30 2024 UTC