php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3458 flush() function does not work
Submitted: 2000-02-11 19:10 UTC Modified: 2002-09-30 20:16 UTC
From: sd50066 at lanet dot lv Assigned:
Status: Not a bug Package: Misbehaving function
PHP Version: 3.0.14 OS: NT4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sd50066 at lanet dot lv
New email:
PHP Version: OS:

 

 [2000-02-11 19:10 UTC] sd50066 at lanet dot lv
<html>
<head>
</head>
<?php
for ($i=1;$i<50;$i++) {
for($ii=1;$ii<$i;$ii++){printf("X");}
flush();
sleep(1);
printf("<BR>");}
?>
</html>

The script does not show row of "X" setep-by-step, but processes it and shows outcome at once.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-30 20:16 UTC] hholzgra@php.net
php flush() only flushes it internal output buffers
it has no influence on web server buffering or proxies

especially on windows the output is always completely
buffered until script termination AFAIR
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Mar 27 00:01:27 2019 UTC