#25867 [Opn->Bgs]: Sleep() no more work corectly on 4.3.3
| From: | sniper@php.net | Date: | Tue, 14 Oct 2003 16:33:25 +0000 |
| Subject: | #25867 [Opn->Bgs]: Sleep() no more work corectly on 4.3.3 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48989@lists.php.net to get a copy of this message | ||
ID: 25867
Updated by: sniper@php.net
Reported By: plc2k at altern dot org
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: windows
PHP Version: 4.3.3
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
..
Previous Comments:
------------------------------------------------------------------------
[2003-10-14 12:29:08] plc2k at altern dot org
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)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25867&edit=1