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 — La plus grande valeur aléatoire possible
   Retourne la plus grande valeur aléatoire possible que peut
   retourner la fonction mt_rand() sans argument, ce qui 
   correspond à la valeur maximum qui peut être utilisé pour son paramètre
   max sans que le résultat soit élargi (et donc moins 
   aléatoire).
  
Cette fonction ne contient aucun paramètre.
Retourne la plus grande valeur aléatoire possible retournée par la fonction 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).