Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55785 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83589 invoked from network); 13 Oct 2011 00:16:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2011 00:16:53 -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:40090] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 61/1B-13120-3FD269E4 for ; Wed, 12 Oct 2011 20:16:52 -0400 Received: by vcbfl10 with SMTP id fl10so887706vcb.29 for ; Wed, 12 Oct 2011 17:16:48 -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=d911ENq4WFl4Tbw9LYQORb8u6nh0/HEr/W+PXbEEMN4=; b=hiTdBglvKQBwUvVQ5gJ9KKi630UFMUKijQBkJFRKBs62ln9iB9anBBgn6GRhes62dC wN2KYm2HicAXXPFCAe8MlaWzYQYC0xOpmao03hbIZuZ7ZZ9Fq7k7gEOFwIH4ZHpVqG3o 4K8mg3IbgxolXuigw9YoXSxMXtNQOSHAzFEVY= Received: by 10.220.6.11 with SMTP id 11mr84792vcx.268.1318465008442; Wed, 12 Oct 2011 17:16:48 -0700 (PDT) References: <4E95AB4E.6040302@sugarcrm.com> In-Reply-To: <4E95AB4E.6040302@sugarcrm.com> Mime-Version: 1.0 (iPhone Mail 8H7) Date: Thu, 13 Oct 2011 08:16:39 +0800 Message-ID: <-5319378532207932402@unknownmsgid> To: Stas Malyshev Cc: 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) 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 m= ultitude 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 wo= uld 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