Zeev Suraski wrote (on 14/07/2014):
I do believe that the vast majority of people would want '32 ' and "42\n"
to silently convert to 32/42, and will generally not care much about
'32abc' converting to 32 either for the sake of consistency.

And passing 'hello' to a function type hinted as int? Will people really expect that to become a 0, with a mild warning they may not even have enabled?

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to