The upper-bound of this value is platform-independent. PHP implements the 32-bit version of the Mersenne Twister ("mt"), so the maximum possible value is 2**31 - 1 (2147483647).
(PHP 4, PHP 5, PHP 7)
mt_getrandmax — Największa możliwa liczba losowa
Zwraca największą liczbę losową, jaką może zwrócić funkcja mt_rand().
Patrz także: mt_rand(), mt_srand() i getrandmax().
The upper-bound of this value is platform-independent. PHP implements the 32-bit version of the Mersenne Twister ("mt"), so the maximum possible value is 2**31 - 1 (2147483647).