note 10790 added to flush
| From: | djronny at gmx dot de | Date: | Mon, 22 Jan 2001 15:51:29 +0000 |
| Subject: | note 10790 added to flush | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10067@lists.php.net to get a copy of this message | ||
I think flush() with PHP<=4 doesn't work at all as expected in the shellscript version
(compile without --with-apache=PATH), ie in a linux xterm:
#/flush.php
<?
print "A\n";
flush();
sleep(5);
print "B\n";
?>
bash$ php -q flush.php
Is it a bug or feature?
http://www.php.net/manual/en/function.flush.php