Re: Exceptions and Errors
| From: | Derick Rethans | Date: | Tue, 13 Apr 2004 20:24:24 +0000 |
| Subject: | Re: Exceptions and Errors | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9118@lists.php.net to get a copy of this message | ||
On Tue, 13 Apr 2004, Adam Maccabee Trachtenberg wrote:
> On Tue, 13 Apr 2004, Marcus Boerger wrote:
>
> > This brings us back to an old problem the severity levels are inconsistent.
> > And further more we decided some time back that E_ERRORs shouldn't be
> > converted to exceptions because of a few E_ERRORs that might not be
> > continuable. From my point of view we should do two things:
> > 1) convert the non continuable E_ERRORs to a higher severity (if there are
> > any at all)
>
> Is there a reason not to move non-continuable E_ERRORs to E_WARNINGs?
Yes, as E_WARNINGs are supposed to be continuable in PHP, unlike
E_ERROR.
regards,
Derick