Re: Compatibility problems with PHP 5
| From: | Chris Shiflett | Date: | Tue, 02 Dec 2003 03:29:05 +0000 |
| Subject: | Re: Compatibility problems with PHP 5 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5977@lists.php.net to get a copy of this message | ||
--- Melvyn Sopacua <msopacua@Idg.nl> wrote:
> If you're going to do this, then do it backwards compatible and
> 'leave' E_ALL at 2047 and move E_STRICT to 2048.
I like the idea of leaving E_ALL at 2047, but it's also quite intuitive
that E_ALL is the sum of all other error levels, and each of these are
independent of one another.
Having E_STRICT at 2048 would make it seem as if the errors returned from
this level do not include any of the E_ALL error types. So, to really get
everything, you would want 2047 + 2048 = 4095. But, I assume this is not
what we want, or is it?
Chris