show a random 16 digit number php code example Example 1: php random integer echo random_int(0,50); Example 2: php random number rand(0,10); or random_int(0,10)