Fonction mt_getrandmax() PHP

Définition et utilisation

mt_getrandmax() affiche la valeur maximale possible du nombre aléatoire.

Syntaxe

mt_getrandmax()

Description

Retourne l'appel mt_rand() Le plus grand nombre aléatoire retourné.

Exemple

<?php
echo mt_getrandmax();
?>

Sortie similaire à :

3147483649