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