Hi; sorry for noise, I think I found out why. ignore me. thanks
2011/10/11 Laruence <larue...@php.net>: > Hi: > with E_NOTICE open.... > > and if I run the test script by php /tmp/test.php 2>log, the > timeout mechanism works agian... > > thanks > > 2011/10/11 Laruence <larue...@php.net>: >> 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/ >> > > > > -- > Laruence Xinchen Hui > http://www.laruence.com/ > -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php