Re: php5 beta
| From: | George Schlossnagle | 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: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. GeorgeHello Shane, just to repeat there weren't any exceptions in php4Yes, you don't have to tell me the obvious. and the thingsthat'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) { }