Hi Nikita,
On Thu, May 14, 2015 at 5:55 PM, Nikita Popov wrote:
> This change is not mt_rand specific, it applies to all internal functions.
> See https://wiki.php.net/rfc/zpp_fail_on_overflow. You are right that it
> is not mentioned in UPGRADING yet.
>
Thanks,
I completely forgot about it eve
On Thu, May 14, 2015 at 10:13 AM, Yasuo Ohgaki wrote:
> Hi all,
>
> It's nice to see mt_rand() behavior is improved.
>
> [yohgaki@dev ~]$ php-5.6 -r "var_dump(mt_rand(222,
> '999'));"
> int(115282844144104926)
> [yohgaki@dev ~]$ php-7.0 -r "var_dump(mt_rand(222,
> '999
Hi all,
It's nice to see mt_rand() behavior is improved.
[yohgaki@dev ~]$ php-5.6 -r "var_dump(mt_rand(222,
'999'));"
int(115282844144104926)
[yohgaki@dev ~]$ php-7.0 -r "var_dump(mt_rand(222,
'999'));"
Warning: mt_rand() expects parameter 2 to be integer,