integer public static
\Bitrix\Main\Security\Random::getInt(
integer $min,
integer $max = \PHP_INT_MAX
);
Static method returns arbitrary integer from the specified range.
Parameters
Parameter | Description | Version |
$min | Lower range limit. | |
$max | Top range limit. | |
Exceptions
Example