note 114082 added to function.set-time-limit
| From: | robertbrogers at gmail dot com | Date: | Thu, 09 Jan 2014 20:45:41 +0000 |
| Subject: | note 114082 added to function.set-time-limit | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198175@lists.php.net to get a copy of this message | ||
Documentation states:
When called, set_time_limit() restarts the timeout counter from zero. In other words, if the timeout
is the default 30 seconds, and 25 seconds into script execution a call such as set_time_limit(20) is
made, the script will run for a total of 45 seconds before timing out.
If I have a long running script and i want a exact time limit, I set this as near as possible to
the first line.
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/function.set-time-limit.php
Edit -- https://master.php.net/note/edit/114082
Del: integrated -- https://master.php.net/note/delete/114082/integrated
Del: useless -- https://master.php.net/note/delete/114082/useless
Del: bad code -- https://master.php.net/note/delete/114082/bad+code
Del: spam -- https://master.php.net/note/delete/114082/spam
Del: non-english -- https://master.php.net/note/delete/114082/non-english
Del: in docs -- https://master.php.net/note/delete/114082/in+docs
Del: other reasons-- https://master.php.net/note/delete/114082
Reject -- https://master.php.net/note/reject/114082
Search -- https://master.php.net/manage/user-notes.php