From: sthomas at townnews dot com Operating system: Redhat Linux PHP version: 4.3.2 PHP Bug Type: Output Control Bug description: ob_implicit_flush does not work
Please note that the manual says this: "Turning implicit flushing on will disable output buffering, the output buffers current output will be sent as if ob_end_flush() had been called." Now, I've set output_buffering = 0 in my php.ini script, so supposedly ob_implicit_flush will flush any buffers started by the script itself, and continue flushing output thereafter. Try this: <?PHP ob_start(); ob_implicit_flush(1); while(1) { print "Hi!"; sleep(1); } ?> This script will not output "Hi!" after each iteration through the loop. Supposedly the documented behavior of ob_implicit_flush is to flush all output buffers once it's called, and disable output buffering for further statements that produce output (print, etc.) So either the documentation is wrong, or there's a bug in ob_implicit_flush. You decide. -- Edit bug report at http://bugs.php.net/?id=23877&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23877&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23877&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23877&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23877&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23877&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23877&r=support Expected behavior: http://bugs.php.net/fix.php?id=23877&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23877&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23877&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23877&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23877&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23877&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23877&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23877&r=gnused