PHP: getrandmax() function
Description
The getrandmax() function is used to get the largest possible random value.
Version:
(PHP 4 and above)
Syntax:
getrandmax()
Return value:
The largest possible random value returned by rand().
Value Type: Integer.
Example:
<?php
echo(getrandmax());
?>
Output:
2147483647See 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/getrandmax.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics