PHP mt_getrandmax() Fonction
Exemple
Retourne la plus grande valeur aléatoire possible que peut renvoyer mt_rand():
<?php
echo(mt_getrandmax());
?> Définition et Utilisation
La fonction mt_getrandmax() renvoie la plus grande valeur possible que peut retourner mt_rand() .
Syntaxe
mt_getrandmax(); Détails Techniques
| Valeur de Retour : | La plus grande valeur possible retournée par mt_rand() |
|---|---|
| Type de Retour : | Entier |
| Version PHP : | 4+ |