set_time_limit has no effect
| From: | Laruence | Date: | Tue, 11 Oct 2011 07:34:48 +0000 |
| Subject: | set_time_limit has no effect | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-55774@lists.php.net to get a copy of this message | ||
Hi:
set_time_limit seems has no effect for this example(both CLI,
apache2handler) : http://pastebin.com/N3TxANhn
<?php
set_time_limit(1);
while(1) {
$a = $arr['index_miss'];
$a = $arr['index_miss'];
$a = $arr['index_miss'];
$a = $arr['index_miss'];
}
but what is wired is , if I reduce the assignment statments to 1
in that while block, it seems works well...
like:
<?php
set_time_limit(1);
while(1) {
$a = $arr['index_miss'];
}
anyidea?
thanks
--
Laruence Xinchen Hui
http://www.laruence.com/