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
It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.
https://w3resource.com/php/function-reference/mt_getrandmax.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics