|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18331 ob_implicit_flush(true) no longer working
Submitted: 2002-07-13 13:16 UTC Modified: 2002-09-21 18:27 UTC
From: cox at idecnet dot com Assigned:
Status: Closed Package: Output Control
PHP Version: 4.3.0-dev OS: All
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.
Bug Type:
From: cox at idecnet dot com
New email:
PHP Version: OS:


 [2002-07-13 13:16 UTC] cox at idecnet dot com
echo "start\n";

With PHP <= 4.1.x, I get "start" just after execute the script. With PHP 4.2.1 CGI I have to wait 5 seconds before get any output. The problem is not reproduceable with CLI under Linux but CLI under Windows have it.

Tomas V.V.Cox

PS.- You need to have output_buffering=4096 and inmplicit_flush=Off in you php.ini to reproduce this problem.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-13 22:49 UTC]
Reproduced in Linux with CLI..

 [2002-07-15 21:55 UTC]
Someone needs to implement implicit flush for neseted output buffers as I post it to php-dev, today....
 [2002-09-21 18:27 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

Seems to have been fixed. Unable to replicate the problem on Linux or Windows using latest CVS.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Mar 22 20:03:59 2023 UTC