Documentation

rand

integer public
\Bitrix\Main\Type\RandomSequence::rand(
 integer $min,
 integer $max
);

Non-static method returns next pseudorandom sequence numerical value.

Value is selected between $min and $max, including borders.

Parameters

ParameterDescriptionVersion
$min
$max

Exceptions

Example



© «Bitrix24», 2001-2024
Up