Re: exceptions instead of errors

From: Date: Tue, 13 May 2003 18:48:17 +0000
Subject: Re: exceptions instead of errors
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-1486@lists.php.net to get a copy of this message
At 20:29 13.05.2003, Zeev Suraski wrote:
At 21:22 13/05/2003, Marcus Börger wrote:
Again, 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.
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.
If this is true then we could simply keep out E_ERROR.
I must have missed your proposal, can you send a link?
Hm i have removed the patch already....maybe an archieve contains it still. marcus

« previous php.internals (#1486) next »