#25867 [Bgs]: Sleep() no more work corectly on 4.3.3
| From: | plc2k at altern dot org | Date: | Tue, 14 Oct 2003 17:40:23 +0000 |
| Subject: | #25867 [Bgs]: Sleep() no more work corectly on 4.3.3 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48997@lists.php.net to get a copy of this message | ||
ID: 25867
User updated by: plc2k at altern dot org
Reported By: plc2k at altern dot org
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: windows
PHP Version: 4.3.3
New Comment:
have you tested my example at least ?
as i said it work on older version and not on the new one, so for me
it's bug i see nothing on http://fr.php.net/sleep to let
me know i'm
wrong in my code...
i posted a ot of messages in lot of forums, nobody know why it don't
work ...
Previous Comments:
------------------------------------------------------------------------
[2003-10-14 13:31:54] plc2k at altens dot org
this is not a bug ? so why it work in older version ?
i spend many time and used many forums, nobody know ..
so i 'm ok to read again the doc .. but ...
why it work in older version ...
------------------------------------------------------------------------
[2003-10-14 12:33:25] sniper@php.net
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
..
------------------------------------------------------------------------
[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