RE: [PHP-DEV] Make set_time_limit() timeout a catchable fatal error
| From: | Jared Williams | Date: | Tue, 08 Mar 2011 14:02:37 +0000 |
| Subject: | RE: [PHP-DEV] Make set_time_limit() timeout a catchable fatal error | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51616@lists.php.net to get a copy of this message | ||
Hi,
Would pcntl_alarm() work?
Jared
> -----Original Message-----
> From: Sebastian Bergmann [mailto:sebastian@php.net]
> Sent: 08 March 2011 13:06
> To: internals@lists.php.net
> Subject: [PHP-DEV] Make set_time_limit() timeout a catchable
> fatal error
>
> Could set_time_limit() be changed in such a way that it triggers a
> catchable fatal error instead of a fatal error? Thanks!
>
> --
> Sebastian Bergmann Co-Founder and
> Principal Consultant
> http://sebastian-bergmann.de/
> http://thePHP.cc/
>
> --
> PHP Internals - PHP Runtime Development Mailing List To
> unsubscribe, visit: http://www.php.net/unsub.php
>