(PHP 4, PHP 5, PHP 7)
getrandmax — Show largest possible random value
Returns the maximum value that can be returned by a call to rand().
The largest possible random value returned by rand()
On a stock installation as of version 7.4.33 / 8.1.12, this function seems to return 2147483647 (maximum 32-bit integer).