php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23259 ob_implicit_flush seems to not work
Submitted: 2003-04-17 09:07 UTC Modified: 2003-04-21 10:10 UTC
From: bibifoc23 at yahoo dot fr Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4CVS-2003-04-17 (stable) OS: Linux and windows
Private report: No CVE-ID: None
 [2003-04-17 09:07 UTC] bibifoc23 at yahoo dot fr
the ob_implicit_flush doesn't work properly in CLI mode on Windows 2000 and Linux.

<?php
ob_implicit_flush(true);
echo "start\n";
sleep(2);
?>

I see "start" only when the script end. This bug is similary to the 18331 bug but appear whit the latest build.
In php.ini, i have output_buffer on and implicit_flush off or On.

The script works if i use ob_end_flush. I don't test apache module. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-17 10:27 UTC] noone at net-si dot com
Turn output buffering to off in php.ini (output_buffering = 0) and try again
 [2003-04-21 10:10 UTC] sniper@php.net
Can not reproduce with latest stable CVS snapshot on either
win2k or linux.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 15:01:34 2024 UTC