note 60973 added to function.ob-implicit-flush
| From: | PaulYanchenko at osu1 dot php dot net | Date: | Sun, 22 Jan 2006 00:15:05 +0000 |
| Subject: | note 60973 added to function.ob-implicit-flush | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-102220@lists.php.net to get a copy of this message | ||
There is another workaround for ob_implicit_flush() in console. Yes, it doesn't works as
expected, but you can get similar result by specifying chunk_size=2 in ob_start():
<?php
ob_start('ob_logstdout', 2);
?>
This will result that every new line (which ends with \n) will flush output buffer.
Hope this will help you.
----
Server IP: 64.246.30.37
Probable Submitter: 87.224.220.31
----
Manual Page -- http://www.php.net/manual/en/function.ob-implicit-flush.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60973
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60973&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60973&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60973&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60973&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60973&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60973&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60973&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60973&report=yes
Search -- http://master.php.net/manage/user-notes.php