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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
44 + 39 = ?
Subscribe to this entry?

 
 [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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 26 06:01:31 2024 UTC