Re: [PHP-DEV] Re: Adding numeric type hint

2015-05-14 Thread Yasuo Ohgaki
Hi Arvids, On Mon, May 11, 2015 at 8:01 PM, Arvids Godjuks arvids.godj...@gmail.com wrote: 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

[PHP-DEV] Re: Adding numeric type hint

2015-05-11 Thread Yasuo Ohgaki
Hi all, On Wed, Apr 29, 2015 at 8:50 AM, Yasuo Ohgaki yohg...@ohgaki.net wrote: External data can have any form of numbers. Current PHP can handle them as string. However PHP7's type hint cannot handle numeric data well because it only has int and float hints. http://3v4l.org/6J0bZ There

Re: [PHP-DEV] Re: Adding numeric type hint

2015-05-11 Thread Arvids Godjuks
пн, 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

Re: [PHP-DEV] Re: Adding numeric type hint

2015-05-11 Thread Pierre Joye
On May 11, 2015 6:01 PM, Arvids Godjuks arvids.godj...@gmail.com wrote: пн, 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.