PHP mt_getrandmax() Function

Definition and Usage

mt_getrandmax() displays the maximum possible value of the random number.

Syntax

mt_getrandmax()

Description

Returns the call mt_rand() The largest random number that can be returned.

Example

<?php
echo mt_getrandmax();
?>

Output similar to:

3147483649