From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.4
PHP version: 4.2.0
PHP Bug Type: Session related
Bug description: starting session turns of some sort of output-buffering
As said in the summary, starting a session turns on some strange
output-buffering, wich cannot be overrided per flush(). This happens since
4.2.0 and is still in the latest snapshot, until 4.1.2 it was okay.
Sample-Scipt:
<?php
session_start();
session_write_close();
set_time_limit (0);
$i = 0;
for(;;)
{
$time = time();
$newtime = date("H:i:s", $time);
printf("($newtime) - $i <br>");
$i++;
flush();
usleep(200000);
}
?>
To me, this is VERY important, because it makes session-based webchats
nearly unusuable.
--
Edit bug report at http://bugs.php.net/?id=16982&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16982&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16982&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16982&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16982&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16982&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16982&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16982&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16982&r=submittedtwice