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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php