PHP : mt_getrandmax() function
Description
The mt_getrandmax() function returns the maximum value that can be returned by the mt_rand() function.
Version:
(PHP 4 and above)
Syntax:
mt_getrandmax()
Return value:
The maximum random value returned by mt_rand()
Value Type: Integer.
Example:
<?php
echo mt_getrandmax();
?>
View the example in the browser
See also
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics