(PHP 4, PHP 5, PHP 7, PHP 8)

getrandmaxShow largest possible random value


getrandmax(): int

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


This function has no parameters.

Return Values

The largest possible random value returned by rand()

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top