Re: exceptions instead of errors
| From: | Zeev Suraski | Date: | Tue, 13 May 2003 18:29:50 +0000 |
| Subject: | Re: exceptions instead of errors | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1484@lists.php.net to get a copy of this message | ||
At 21:22 13/05/2003, Marcus Börger wrote:
It may be semantical, but these are not places where E_ERROR is being used in a wrong way. E_ERROR, today, is being used for both cases where semantically we shouldn't be continuing our execution, and places where we're in an unstable state and cannot continue our execution. If we want to differentiate between these two cases, we need a new error level. I must have missed your proposal, can you send a link? ZeevAgain, the problem with that solution is the concept that some E_ERRORs really shouldn't be thrown as exceptions, while others it'd be useful.Yes we must fix those places were E_ERROR was used in a wrong way and use another error level instead.