Bug #16676 Updated: ob_implicit_flush not turning off ob

From: Date: Thu, 18 Apr 2002 07:43:39 +0000
Subject: Bug #16676 Updated: ob_implicit_flush not turning off ob
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5266@lists.php.net to get a copy of this message
ID: 16676 Updated by: norny@yahoo.com Reported By: norny@yahoo.com Status: Analyzed Bug Type: Output Control Operating System: Slackware 8.0 PHP Version: 4.2.0 New Comment: I can't change the status to 'Open', but I can say zlib.output_compression is off. Previous Comments: ------------------------------------------------------------------------ [2002-04-18 02:57:57] yohgaki@php.net I guess you are enabling zlib.output_compression. If you are not, please change Status to "Open". Thank you. ------------------------------------------------------------------------ [2002-04-18 02:19:29] norny@yahoo.com 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 this bug report at http://bugs.php.net/?id=16676&edit=1

« previous php.bugs (#5266) next »