Bug #16676: ob_implicit_flush not turning off ob
| From: | norny at yahoo dot com | Date: | Thu, 18 Apr 2002 06:19:30 +0000 |
| Subject: | Bug #16676: ob_implicit_flush not turning off ob | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-5262@lists.php.net to get a copy of this message | ||
From: norny@yahoo.com
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