mt_rand expects parameter 2 to be integer, wrongly thinks float was given
<pre><code>mt_rand(1000000000, 9999999999);
</code></pre>

<blockquote>
  <p>Warning: mt_rand() expects parameter 2 to be integer, float given in E:\Projects\school\users\temp.php on line 6</p>
</blockquote>

<p>PHP 7.0.2 in XAMPP. This code was running fine in last XAMPP installation which had 5.x. So the update broke it. Can't find anything on google.</p>

<p><a href="https://i.stack.imgur.com/cixQ9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cixQ9.png" alt="enter image description here"></a> </p>