PHP mt_getrandmax()
La fonction mt_getrandmax() est une fonction intégrée en PHP qui renvoie la plus grande valeur possible pouvant être retournée par mt_rand().
Syntaxe
mt_getrandmax()
Paramètres
La fonction ne reçoit aucun argument.
Valeur de retour
La fonction renvoie la plus grande valeur possible retournée par mt_rand().
Version PHP:
4+
Exemple :
<?php echo(mt_getrandmax()); ?>
Sortie:
2147483647