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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Fri Apr 26 17:01:30 2024 UTC