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, PHP 8)
mt_getrandmax — El valor aleatorio más grande posible
Devuelve el valor aleatorio más grande posible que puede
devolver la función mt_rand() sin argumento, lo que
corresponde al valor máximo que puede ser utilizado para su parámetro
max
sin que el resultado sea ampliado (y por lo tanto menos
aleatorio).
Esta función no tiene parámetros.
Devuelve el valor aleatorio más grande posible devuelto por la función mt_rand()
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).