Answers for "create random 4 digit php"

PHP
7

php random number

// $min and $max are optional
rand($min,$max);
Posted by: Guest on April-14-2020
0

php random 5 digit number

$limit = 3;
echo random_int(10 ** ($limit - 1), (10 ** $limit) - 1);
Posted by: Guest on May-09-2021

Code answers related to "create random 4 digit php"

Browse Popular Code Answers by Language