Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2
| From: | Ard Biesheuvel | Date: | Mon, 16 Feb 2004 17:37:07 +0000 |
| Subject: | Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7883@lists.php.net to get a copy of this message | ||
Hans Lellelid wrote:
Personally as PHP developer (as opposed to internals developer) I am not in favor of having an interface, because I want to know that try { // ... } catch (Exception $e) { // ... } will catch *all* exceptions thrown by any libraries I choose to use, etc. Mixing the interface means requiring PHP developers to catch() onActually, you would use 'catch (IException $e)' which would catch the IException-derived Exception and all other classes that implement it. -- Ard