Documentation

getStringByCharsets

string public static
\Bitrix\Main\Security\Random::getStringByCharsets(
 integer $length,
 string $charsetList
);

Static method returns arbitrary string (if possible) for current list of encodings.

Parameters

ParameterDescriptionVersion
$lengthResult string length.
$charsetListList of encodings, must be in ASCII.

Example



© «Bitrix24», 2001-2024
Up