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 maximum random number that can be returned.

Example

<?php
echo mt_getrandmax();
?>

Output like:

3147483649