Easy Tutorial
❮ Func Xml Set Character Data Handler Func Mysqli Fetch Field ❯

PHP mt_getrandmax() Function

PHP Math Reference Manual

Example

Returns the maximum possible value of the random number displayed by calling the mt_rand() function:


Definition and Usage

The mt_getrandmax() function returns the maximum possible value of the random number displayed by calling the mt_rand() function.


Syntax

Technical Details

Return Value: The maximum possible value of the random number displayed by calling the mt_rand() function.
Return Type: Integer
--- ---
PHP Version: 4+
--- ---

❮ Func Xml Set Character Data Handler Func Mysqli Fetch Field ❯