From: [EMAIL PROTECTED] Operating system: Slackware 8.0 PHP version: 4.2.0 PHP Bug Type: Output Control Bug description: ob_implicit_flush not turning off ob
I have a php shell script that outputs ~100 char lines using echo. I'm trying to work around the default php.ini configuration of a 4k automatic buffer and flush the lines to the console for debugging. Calling ob_flush() after each echo, echos the lines immediately, putting ob_end_flush() at the beginning of the script turns off ob so I get immediate output, but ob_implicit_flush() and ob_implicit_flush(1) don't seem to automatically flush after each echo. I have to wait till the end of the script execution to see the output when I try ob_implicit_flush. Using ob_end_flush() is my workaround for now. Same difference whether I use echo or print. This is for RC4. -- Edit bug report at http://bugs.php.net/?id=16676&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16676&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16676&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16676&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16676&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16676&r=support Expected behavior: http://bugs.php.net/fix.php?id=16676&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16676&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16676&r=submittedtwice