Re: #60038 SIGALRM cause segfault in php_error_cb
| From: | Xinchen Hui | Date: | Thu, 13 Oct 2011 00:16:39 +0000 |
| Subject: | Re: #60038 SIGALRM cause segfault in php_error_cb | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55785@lists.php.net to get a copy of this message | ||
Hi:
If send signal enabled, no system will be called.
Thkans
Sent from my iPhone
在 2011-10-12,22:59,Stas Malyshev <smalyshev@sugarcrm.com> 写道:
> Hi!
>
> On 10/12/11 7:50 AM, Ilia Alshanetsky wrote:
>> Seems like a fine solution, performance loss would occur only when
>> error happens...
>
> Note that on 99% of real PHP code, dozens of "errors" may happen due to multitude of
> notices and E_STRICTs that we have now and we have no means to disable until the very last moment
> before printing them. If each of them would cost two system calls, we may have a serious performance
> problem.
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227