#45073 [Opn->Bgs]: ?
| From: | helly@php.net | Date: | Sun, 25 May 2008 11:59:47 +0000 |
| Subject: | #45073 [Opn->Bgs]: ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-125234@lists.php.net to get a copy of this message | ||
ID: 45073
Updated by: helly@php.net
Reported By: gogulas at wp dot pl
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: windows/unix
PHP Version: 5.2.6
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
Sleep means sleep and execution time means time of execution. If you
want run time then use timing functionality.
Previous Comments:
------------------------------------------------------------------------
[2008-05-22 22:53:54] gogulas at wp dot pl
Description:
------------
HELLo
This is not a bug.
time when funcion sleep() holding script, (aswell as for example sql
querty), dosnt include to total script execute time, so if we set max
execution time in php.ini for example 60 sec. the sleep(9999); will hold
script for 9999 seconds.
So
<?
while(memory<8or16or24or32)$a.=1;
sleep(99999);
?>
run it xxxx times :P
IMO next versions of php shouldnt exclude sleep() from
max_execution_time.
Realy, who need this for anything except crackers? :P
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45073&edit=1