Math Functions
PHP Manual

getrandmax

(PHP 4, PHP 5, PHP 7)

getrandmaxShow largest possible random value

Description

int getrandmax ( void )

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


Math Functions
PHP Manual