ID:               25867
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to