generate random number and string php secure code example Example: secure random number php int random_int ( int $min , int $max )