Re: [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants
| From: | Johannes Schlüter | Date: | Tue, 24 Aug 2010 20:31:59 +0000 |
| Subject: | Re: [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49501@lists.php.net to get a copy of this message | ||
On Tue, 2010-08-24 at 22:23 +0400, Alexey Zakhlestin wrote:
> The only downside is, that programmer will need to know, that E_*
> constants do mean numbers.
> With adding E_NONE this knowledge would be unnecessary and people
> would be able just to think in terms of abstract "symbols"
Users should be aware of this being a bitmask in order to set proper
error modes like E_ALL & ~E_STRICT.
johannes