Documentation

getBytes

string public static
\Bitrix\Main\Security\Random::getBytes(
 integer $length
);

Static method returns arbitrary (if possible) byte string.

Parameters

ParameterDescriptionVersion
$lengthLength of result byte string.

Example



© «Bitrix24», 2001-2024
Up