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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: monte at ispi dot net
New email:
PHP Version: OS:

 

 [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: Sat Apr 20 04:01:28 2024 UTC