Re: [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants
| From: | Kalle Sommer Nielsen | Date: | Wed, 25 Aug 2010 15:42:52 +0000 |
| Subject: | Re: [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49516@lists.php.net to get a copy of this message | ||
Hi
2010/8/24 Adam Harvey <aharvey@php.net>:
> Kalle also suggested another constant within that request to provide a
> symbolic version of error_reporting = -1, so there's a second patch in that
> report to add an E_EVERYTHING constant which acts as E_ALL once did: it
> turns on all error reporting.
On a personal level I only think E_ALL would make sense, because in
the old PHP6 E_STRICT were not apart of E_ALL, that is ofcourse, if
you choose not to use the "magic" -1 thats always contains all the
bits no matter what.
--
regards,
Kalle Sommer Nielsen
kalle@php.net