Detecting max execution time
| From: | Joseph H Blythe | Date: | Mon, 28 Aug 2000 02:31:54 +0000 |
| Subject: | Detecting max execution time | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-13888@lists.php.net to get a copy of this message | ||
Hey,
Does anyone know what set_time_limit returns if max execution time is
reached?
How would one recover from a timeout, is this even possible?
for example if a while loop is endless and the script times out would
there be a way to detect this as it happens and break out of this
condition, instead of letting php kill the script with a fatal error?
thanks,
Joseph