Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55786 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84811 invoked from network); 13 Oct 2011 00:17:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2011 00:17:48 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:40851] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1D/5B-13120-92E269E4 for ; Wed, 12 Oct 2011 20:17:48 -0400 Received: by vcbfl10 with SMTP id fl10so888209vcb.29 for ; Wed, 12 Oct 2011 17:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=PxpLeInnCNV0vsJvtgfbF8E7npM5hVqdPOLNcMARxdE=; b=Wm8iXnGXg6IX4f6szeC7exJrF9mZ4+FiHVvtzf9kCpVnqQ9u7u9GzpRFjZNAA5RtTf E4lnNkD2Gg0hYozqcAzwOx3y2uXkaFqIWLmAWDQfSPUxrC0+Mrpc2ApG4xpxutsiWZrM ZvrUW/745YHB3WY51X7y+ct5HmaxcfAwsg5fk= Received: by 10.220.150.15 with SMTP id w15mr93695vcv.163.1318465062402; Wed, 12 Oct 2011 17:17:42 -0700 (PDT) References: <4E95AB4E.6040302@sugarcrm.com> <-5319378532207932402@unknownmsgid> In-Reply-To: <-5319378532207932402@unknownmsgid> Mime-Version: 1.0 (iPhone Mail 8H7) Date: Thu, 13 Oct 2011 08:17:33 +0800 Message-ID: <-3287449927473806188@unknownmsgid> To: Xinchen Hui Cc: Stas Malyshev , Ilia Alshanetsky , Laruence , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] #60038 SIGALRM cause segfault in php_error_cb From: laruence@gmail.com (Xinchen Hui) s,send,zend, Sent from my iPhone =E5=9C=A8 2011-10-13=EF=BC=8C8:16=EF=BC=8CXinchen Hui = =E5=86=99=E9=81=93=EF=BC=9A > Hi: > If send signal enabled, no system will be called. > > Thkans > > Sent from my iPhone > > =E5=9C=A8 2011-10-12=EF=BC=8C22:59=EF=BC=8CStas Malyshev =E5=86=99=E9=81=93=EF=BC=9A > >> 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 w= ould 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