On 23.05.2010, at 00:01, Hannes Magnusson wrote:
>> can we please just stop calling a something a "type hinting" system, which
>> leads to a catchable fatal error when the type does not strictly match?
>> thats a very misleading euphemism. its simply strict typing, it has nothing
>> to do with hinting.
>>
>
> It definitely isn't strict either:
>
> $ php -r 'function errh() {} set_error_handler("errh",
> E_RECOVERABLE_ERROR); function bar(foo $x) {echo "hello world\n";}
> bar(1);'
> hello world
heh ... you are selling recoverable errors as anything but a solution to
display something else than a white screen?
regards,
Lukas Kahwe Smith
[email protected]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php