Text::random

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"
doc_Phalcon
2016-10-16 09:57:01
Comments
Leave a Comment

Please login to continue.