note 41306 deleted from function.set-time-limit by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 01:15:11 +0000 |
| Subject: | note 41306 deleted from function.set-time-limit by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141900@lists.php.net to get a copy of this message | ||
Note Submitter: nathan
----
unless I am doing something stupid, my testing (at least on php 4.3.4) seems to indicate that
sleep() does indeed count towards script execution time, contrary to the previous post.
Here is my test code:
for ($i=0; $i < 10; $i++) {
sleep(10);
echo " [$i] ";
}
This will exceed execution time after only 2 loops.