public static random ([mixed $type], [mixed $length])
Generates a random string based on the given type. Type is one of the RANDOM_* constants
echo Phalcon\Text::random(Phalcon\Text::RANDOM_ALNUM); //"aloiwkqz"
public static random ([mixed $type], [mixed $length])
Generates a random string based on the given type. Type is one of the RANDOM_* constants
echo Phalcon\Text::random(Phalcon\Text::RANDOM_ALNUM); //"aloiwkqz"
Please login to continue.