Php/docs/function.getrandmax
From Get docs
getrandmax
(PHP 4, PHP 5, PHP 7)
getrandmax — Show largest possible random value
Description
getrandmax ( ) : int
Returns the maximum value that can be returned by a call to rand().
See Also
- rand() - Generate a random integer
- srand() - Seed the random number generator
- mt_getrandmax() - Show largest possible random value