Re: Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Type hints revisited [IllegalArgumentException
instead of E_ERROR]
| From: | Steph | Date: | Fri, 28 Mar 2003 16:31:55 +0000 |
| Subject: | Re: Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Type hints revisited [IllegalArgumentException instead of E_ERROR] |
||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-437@lists.php.net to get a copy of this message | ||
> Changing PHP's behavior with a different error level is only a tad bit
> better than adding an INI directive. In general I'd like the core
language
> to behave the same no matter what error level or INI settings.
> I say nuke type-hints and let the purists use instanceof.
>
> Andi
>
Speaking as one who battles with PHP rather than with C most of the
time, I'm with Andi here. People who are likely to use OOP to any
extent are also going to be people who can work around typing issues.
The rest of us are going to be left staring pitifully at our broken code
for hours on end :-\