Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62806 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94901 invoked from network); 4 Sep 2012 17:34:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Sep 2012 17:34:18 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pb0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:54672] helo=mail-pb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/29-46870-99B36405 for ; Tue, 04 Sep 2012 13:34:17 -0400 Received: by pbbrp8 with SMTP id rp8so9703462pbb.29 for ; Tue, 04 Sep 2012 10:34:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bb6r6JORcB3ZTPYhXI/OhfWM1xaBWVumFD9yyn3x+NU=; b=uDmLV7upxuqGBhwgItdTxwahUpxAspgtDB1WkRlyGMUnfvRRMSNwbBQoX1Rj9a5MsE 5y/oFYr1ybUqVSGI4j2ZygCRq2rM5ec0HD4aUa71Lao5a/yWE/EHHpWxWqXbnuw4OSyS bZhIeeK14RWdED4avQw6fdWyjJVFVIuJdRBDNUckDlk+MOm0lLJ/aXEe2p5NcPf1JAtb 5l6980vVMPRXqpM4PWtSVgeBmZ28yXzS842/VSOUsNTZ1Jmb9oPz49oc2ahOZvZ2TXe9 QZFgki1pBOwaTmlyyMWDeUe+MjKopZ6qhZ327zd8rc4FXURvSz2EuzESOTH+AIApuD3+ XxNg== MIME-Version: 1.0 Received: by 10.68.222.40 with SMTP id qj8mr47134767pbc.139.1346780054609; Tue, 04 Sep 2012 10:34:14 -0700 (PDT) Received: by 10.68.211.37 with HTTP; Tue, 4 Sep 2012 10:34:12 -0700 (PDT) Received: by 10.68.211.37 with HTTP; Tue, 4 Sep 2012 10:34:12 -0700 (PDT) In-Reply-To: <50463317.7000109@lerdorf.com> References: <5042946A.80204@sugarcrm.com> <5042A7D6.7050001@lerdorf.com> <50452713.3020307@sugarcrm.com> <5045CAA3.6000409@lsces.co.uk> <5045E044.9080809@lsces.co.uk> <5045F939.6010806@lsces.co.uk> <5045FD98.8080306@lsces.co.uk> <50463317.7000109@lerdorf.com> Date: Tue, 4 Sep 2012 19:34:12 +0200 Message-ID: To: Rasmus Lerdorf Cc: Adam Richardson , PHP Development Content-Type: multipart/alternative; boundary=047d7b2ee2e9bedf5c04c8e3aa1f Subject: Re: [PHP-DEV] E_STRICT 'errors' - was Are exceptions allowed in php core? From: tyra3l@gmail.com (Ferenc Kovacs) --047d7b2ee2e9bedf5c04c8e3aa1f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2012.09.04. 18:58, "Rasmus Lerdorf" ezt =C3=ADrta: > > On 09/04/2012 09:36 AM, Adam Richardson wrote: > > I think Ferenc is correct in that this sounds like there's a custom > > error handler somewhere. If the custom error handler collects error > > info and then throws an exception (as has been detailed in various > > blog posts as one manner of unifying the errors), this would cause the > > trouble you're seeing. > > Only on a new E_STRICT. Even with E_STRICT off by default, custom error > handlers are still called, and I think Lester said that turning E_STRICT > off made it work. So if this is the cause, then it has nothing to do > with E_STRICT being in E_ALL or not, nor whether display_errors is on or > off. It would have to do with the custom error handler blowing up on one > specific E_STRICT, which I find rather unlikely. > Don't forget that many error handlers check the error level against the currently set error_reporting (so that they won't be executed on supressed errors and such). AFAIR we even promote that implementation in our error handler example in our docs. That would mean that the error handler main logic is only executed if E_STRICT is in the error_reporting. --047d7b2ee2e9bedf5c04c8e3aa1f--