Documentation

getInt

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

ParameterDescriptionVersion
$minLower range limit.
$maxTop range limit.

Exceptions

Example



© «Bitrix24», 2001-2022
Up