|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-10-14 12:33 UTC] sniper@php.net
[2003-10-14 13:31 UTC] plc2k at altens dot org
[2003-10-14 13:40 UTC] plc2k at altern dot org
[2003-10-14 20:13 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 18:00:01 2025 UTC |
Description: ------------ i used a sleep() function in my php page, and after an upgrade of php, this one no more work. so it work on older version of php like 4.2.0 but not on last one, like 4.3.3 Reproduce code: --------------- <?php echo "test"; $waitfile = "C:\wait.txt"; while (@!unlink($waitfile)) { echo "<B>.</B> "; sleep(2); } ?> Expected result: ---------------- test . . . . . . . . . . (here the "." are add one by one every 2 seconds) Actual result: -------------- test. . . . . . . . . . . . . Fatal error: Maximum execution time of 30 seconds exceeded in c:\uptest2.php on line 8 (here, all the points appear at the timeout)