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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
24 + 21 = ?
Subscribe to this entry?

 
 [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: Sun Jun 16 04:01:28 2024 UTC