Please wait while we load your page...


Latest Version [8.00202205221] Last Updated [May-22-2022]


PHP Manual [getrandmax]

Protect Your Website Today

PHP Manual || Math Functions

(PHP 4, PHP 5, PHP 7)

getrandmaxShow largest possible random value


getrandmax ( void ) : 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

PHP Manual || Math Functions