Re: E_STRICT 'errors' - was Are exceptions allowed in php core?
| From: | Rasmus Lerdorf | Date: | Tue, 04 Sep 2012 20:15:50 +0000 |
| Subject: | Re: E_STRICT 'errors' - was Are exceptions allowed in php core? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62814@lists.php.net to get a copy of this message | ||
On 09/04/2012 12:20 PM, Jan Ehrhardt wrote:
> Now that you have changed the subject, I feel free to break in with a
> voice from userland.
>
> Rasmus Lerdorf in php.internals (Tue, 04 Sep 2012 09:57:59 -0700):
>> Even with E_STRICT off (...)
>
> Sometimes it is not easy for users to turn off E_STRICT. Lester already
> mentioned one scenario: ISP's tend to install PHP with the default
> settings without the possibility to change them.
Just call error_reporting() at the beginning of your script. It doesn't
matter what your ISP has set there. You are in total control from userland.
-Rasmus