Funzione mt_getrandmax() PHP

Definizione e uso

mt_getrandmax() mostra il valore massimo possibile del numero casuale.

Sintassi

mt_getrandmax()

Descrizione

Restituzione chiamata mt_rand() Il numero casuale massimo che può essere restituito.

Esempio

<?php
echo mt_getrandmax();
?>

Output simile a:

3147483649