Yasuo, Implicit flush has nothing to do with the PHP-level output buffering layers. Implicit flush only means that the server-specific flush function should be called whenever output is being written using the server-specific output function. As long as you're not calling the server-specific output function (e.g., if you're using PHP's output buffering layers), implicit flush has no meaning.
In other words - if you have implicit flush on, and turn output buffering on, and print out something - this something will go to the output buffer, and will NOT be flushed. In no way should enabling implicit-flush change the output of an application, it must not interfere with the programmable output buffering layers of PHP. That's the desired behavior, please make sure you did not deviate from it... Thanks, Zeev At 05:48 03/10/2002, Yasuo Ohgaki wrote: >Alan Knowles wrote: >>Yasuo Ohgaki wrote: >>>A little history. When 4.1.0 (or 4.2.0?) is released, I've fixed >>>crush with deleting wrong buffer with implicit flush. The fix >>>disabled implicit flush. >>> >>>I finally fixed implicit flush. Users should worry about >>>implicit flush directive in php.ini now. e.g. implicit_flush=Off >>>for normal use. >>> >>>Apparently, CLI SAPI implicitly enable implicit flush at >>>initialization no matter what the php.ini setting is. CLI behavior >>>is wrong, since there is no way to change implicit flush directive >>>once script is started. I notified this to Edin and he would address >>>this issue soon hopefully. >> >>Is it worth adding a note to the output control page >>http://www.php.net/manual/en/ref.outcontrol.php and/or ob_start to say >>"Note: When upgrading from PHP 4.1 (& 4.2) to 4.3 that due to a bug in >>earlier versions you must ensure that implict_flush is OFF in your >>php.ini, otherwise any output withing ob_start, will be not be hidden >>from output" >>or something similar? >>(at least it will be documented, even if nobody reads it :) > >Done :) > >-- >Yasuo Ohgaki > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php