Fonction getrandmax() PHP
Exemple
Retourne la valeur maximale possible de nombre aléatoire retourné par rand() :
<?php echo(getrandmax()); ?>
Définition et utilisation
La fonction getrandmax() retourne la valeur maximale possible retournée par rand().
Syntaxe
getrandmax();
Détails techniques
Valeur de retour : | La valeur maximale possible retournée par rand() |
Type de retour : | Entier |
Version PHP : | 4+ |