Re: type hinting throwing a fatal error
| From: | Markus Fischer | Date: | Mon, 08 Aug 2005 12:10:53 +0000 |
| Subject: | Re: type hinting throwing a fatal error | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17592@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
As type hinting is a new OO thing, it might perhaps make some sense to make this an exception instead - as this error might also happen for dynamic things by people who use the classes you designed. In that case having this fatal error to stop the whole application can be annoying. Opinions?+1 on throwing an exception. - Markus