PHP Manual: getrandmax


Enter the keyword for better results

getrandmax

(PHP 3, PHP 4, PHP 5)

getrandmax -- Show 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()