getrandmax

(PHP 4, PHP 5, PHP 7)
Show largest possible random value
int getrandmax ( void )

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

Returns:

The largest possible random value returned by rand()

See also:

rand() -

srand() -

mt_getrandmax() -

doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.