Re: E_STRICT 'errors' - was Are exceptions allowed in php core?
| From: | Adam Richardson | Date: | Tue, 04 Sep 2012 17:24:30 +0000 |
| Subject: | Re: E_STRICT 'errors' - was Are exceptions allowed in php core? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62805@lists.php.net to get a copy of this message | ||
On Tue, Sep 4, 2012 at 12:57 PM, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
> 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.
>
> -Rasmus
Whoops, you're right! I forgot that the custom error handler is called
regardless of error reporting.
Adam
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com