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

1
echo Phalcon\Text::random(Phalcon\Text::RANDOM_ALNUM); //"aloiwkqz"
doc_Phalcon
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.