Amen :)
At 09:03 PM 8/31/2004 +0200, Marcus Boerger wrote:
Hello Davey,
Tuesday, August 31, 2004, 8:41:45 AM, you wrote:
> Dear all,
> I would like to request that set_exception_handler's behaviour be
> changed. IMHO it should not die after handling an exception.
An exception means that the current
Hi Davey,
You should use try/catch in order to catch exceptions.
set_exception_handler() is only meant for you to be able to handle uncaught
exception before PHP dies (i.e.allow you to output an error message page).
I think your idea goes very much against what exceptions stand for which is
allo
Hello Davey,
Tuesday, August 31, 2004, 8:41:45 AM, you wrote:
> Dear all,
> I would like to request that set_exception_handler's behaviour be
> changed. IMHO it should not die after handling an exception.
An exception means that the current execution block cannot be
continued and incase that
Dear all,
I would like to request that set_exception_handler's behaviour be
changed. IMHO it should not die after handling an exception.
I feel that most users will expect this behaviour to be synonymous (i.e.
both should echo "foo"):
try {
throw someException;
}
catch (someException $e) { }