Re: php5 beta

From: Date: Thu, 19 Jun 2003 19:26:57 +0000
Subject: Re: php5 beta
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-2443@lists.php.net to get a copy of this message
On Thursday, June 19, 2003, at 02:57 PM, Shane Caraveo wrote:
I knew I should have kept my mouth shut... Marcus Börger wrote:
Hello Shane, just to repeat there weren't any exceptions in php4
Yes, you don't have to tell me the obvious. and the things
that'll use exceptions in php5 will require full rewrite anyway. So i don't see any problem.
try { function_call_to_some_preexisting_library_that_doesnt_do_exceptions() } catch(e) { }
The auto-generated exceptions can be of type InternalException extends Exception {}, and then the caller can decide whether or not they want to comply with the old method (just die on the spot), or to try and deal with the error. George

« previous php.internals (#2443) next »