пн, 11 Май 2015, 10:21, Yasuo Ohgaki <yohg...@ohgaki.net>: Hi all,
I've never wrote my blog in English, but I wrote one because peice by piece discussion is not going to anywhere. http://blog.ohgaki.net/dont-use-php7-type-hint-for-external-data How many of you think current scalar type hint is useful enough to interact with database/json/xml/yaml/rest/etc? We need "numeric" hint at least. IMHO. If not, we need "large warning sign" in documentation as a last resort at least. Regards, P.S. We may be better to declare 32 bit CPU support EOL by PHP 7 to reduce the impact. We'll have the same issue when 128 bit CPU or 128 bits IEEE 754 float became in common, though. -- Yasuo Ohgaki yohg...@ohgaki.net Hello, I have read through your blog post, and I agreed on the issue earlier, nut I have a question that bugs me for a while: what DoS issue are you talking about? I tried to imagine any scenario that can lead to a DoS wuith a type hint and can't think of any happening...