faqts : Computers : Programming : Languages : PHP : Common Problems : Code Execution

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

8 of 13 people (62%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Does set_time_limit() operate on elapsed time or CPU time?

Nov 8th, 2001 01:33
Richard Thompson, http://www.weberdev.com/Specials/Books/Professional_PHP_Programming/29632002.htm


When using "set_time_limit(secs)" the value specified for <secs> is 
elapsed time from the moment the function is called until the script 
should be killed. It has no connection with CPU time used for 
processing!