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: Closed Package: Misbehaving function
PHP Version: 3.0.14 OS: NT4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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
 [2024-06-24 10:41 UTC] git@php.net
Automatic comment on behalf of derickr
Revision: https://github.com/php/doc-en/commit/3c9bf397b89a2ea8d05385d35a8af5ccccfc5dd5
Log: Fixed #3458: missing &#039;p&#039; with createFromFormat
 [2024-06-24 10:41 UTC] git@php.net
-Status: Not a bug +Status: Closed
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 12 02:01:27 2025 UTC