Re: Re: svn: /php/php-src/ branches/PHP_5_4/Zend/zend_execute_API.c trunk/Zend/zend_execute_API.c
| From: | Stas Malyshev | Date: | Wed, 07 Sep 2011 20:04:57 +0000 |
| Subject: | Re: Re: svn: /php/php-src/ branches/PHP_5_4/Zend/zend_execute_API.c trunk/Zend/zend_execute_API.c | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55287@lists.php.net to get a copy of this message | ||
Hi!
On 9/7/11 12:43 PM, Rasmus Lerdorf wrote:
Actually, it seems to be more than that. That set_time_limit() just speeds up the test. Since we have a default max_execution_time you should still have hit that and the shutdown function should have been called. But your other max_execution_time-related tests, like 045 pass, so what is special about this one? The tight for(;;) loop?setitimer exists just fine on Darwin, but the tight loop seems to be the problem - if I put echo time(); in the loop, it exits in prescribed time. Without it, it runs forever. Actually, just time() without echo seems to be enough - looks like any system calls make it work, but tight loop doesn't. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227