ID: 42379
Updated by: [EMAIL PROTECTED]
Reported By: mika at netstock dot net
-Status: Open
+Status: Feedback
Bug Type: Output Control
Operating System: freebsd-6.2
PHP Version: 5.2.3
New Comment:
Only thing I get is this output:
Notice: Undefined variable: var in /opt/www/t.php on line 4
And no leak. How about providing us a bit more information and a script
that does not have any errors/notices in it? Your configure line would
be nice to know. And what extensions (if any) you load in php.ini..
Previous Comments:
------------------------------------------------------------------------
[2007-08-22 13:21:04] mika at netstock dot net
Description:
------------
when i use flush() or ob_implicit_flush() to push data to browser it
will keep eating my server's memory like 4k 4k 4k......and another 4k
..
and my apache is 2.0.59
Do anyone can help me!!!!
Reproduce code:
---------------
<?
while{1){
echo "$var";
flush();
sleep(1);
}
?>
or
<?
ob_implicit_flush(1);
while{1){
echo "$var";
sleep(1);
}
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42379&edit=1