public number (mixed $len)
Generates a random number between 0 and $len Returns an integer: 0 <= result <= $len.
$random = new \Phalcon\Security\Random(); echo $random->number(16); // 8
public number (mixed $len)
Generates a random number between 0 and $len Returns an integer: 0 <= result <= $len.
$random = new \Phalcon\Security\Random(); echo $random->number(16); // 8
Please login to continue.