Function __global->random_int
Definitions
sources_custom/phpstub.php
- Generates cryptographically secure pseudo-random integers.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$min | integer | required parameter | N/A | N/A | The lowest value to be returned, which must be PHP_INT_MIN or higher |
$max | integer | required parameter | N/A | N/A | The highest value to be returned, which must be less than or equal to PHP_INT_MAX |
Return
- A cryptographically secure random integer in the range min to max, inclusive
- Type: integer
- Set: N/A
- Range: N/A