Re: type hinting
| From: | Pierre | Date: | Sun, 06 Jan 2008 22:07:55 +0000 |
| Subject: | Re: type hinting | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34557@lists.php.net to get a copy of this message | ||
On Jan 6, 2008 10:46 PM, Stefan Priebsch <stefan.priebsch@e-novative.de> wrote:
> Error handling is to catch the exception (or error) and take measures so
> that your program can continue to work.
I don't see the point to make a application working when you pass to
it the wrong data, it is a bad usage. That was the moto for the
strictness in OO and its fatal errors. But It will be possible as it
seems that we are going down the E_RECOVERABLE error, but that does
not make it a good thing.
--
Pierre
http://blog.thepimp.net | http://www.libgd.org