The lowest value to return (default: 0)
The highest value to return (default: getrandmax)
A pseudo random value between min (or 0) and max (or getrandmax, inclusive).
min max range must be within the range getrandmax. i.e. (max - min) <= getrandmax Otherwise, rand may return poor-quality random numbers.
|7.2.0||rand has received a bug fix for a modulo bias bug. This means that sequences generated with a specific seed may differ from PHP 7.1 on 64-bit machines.|
|7.1.0||rand has been made an alias of mt_rand.|