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