February 2013
Intermediate to advanced
538 pages
20h 55m
English
set_time_limit
void set_time_limit(int timeout)Sets the timeout for the current script to
timeout seconds and restarts the timeout
timer. By default, the timeout is set to 30 seconds or the value for
max_execution_time set in the
current configuration file. If a script does not finish executing
within the time provided, a fatal error is generated and the script is
killed. If timeout is 0, the script will never time out.
Read now
Unlock full access