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?

58 of 66 people (88%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

If I write an infinite loop, will PHP ever stop it from running?
Does a PHP script stop executing when the user presses their stop button?

Jun 27th, 1999 23:17
Nathan Wallace, matt, Teodor Cimpoesu


Unless you have explicitly instructed otherwise via the
ignore_user_abort function, the script will stop executing when the user
presses the stop button or, by default, after 30 seconds.

http://www.php.net/manual/features.connection-handling.php3