ID: 15646 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Output Control Operating System: Windows 2000 SP2 PHP Version: 4.1.1 New Comment:
BTW i found one bug report regarding similar problem, but the answer blamed the webserver buffering the output. its not the case in this situation. Previous Comments: ------------------------------------------------------------------------ [2002-02-20 11:45:00] [EMAIL PROTECTED] here is the code i ran with command-line version of php: <? $asd=0; do { printf("asd: %d\n",$asd); flush(); sleep(1); $asd++;}while ($asd<5); ?> if it is executed on linux, it works as expected, that is it displays asd every second. on windows though, i only see the whole output after 5 seconds. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15646&edit=1