getrandmax

(PHP 4, PHP 5, PHP 7)

getrandmaxShow largest possible random value

Description

getrandmax ( ) : int

Returns the maximum value that can be returned by a call to rand().

Return Values

The largest possible random value returned by rand()

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.getrandmax.php