PHP development verification code tutorial: adding content and disturbing elements
Let’s take a look at adding content and interference elements
With the above code, you can change the value of type $type=1 is a number
$type = 2 is an uppercase letter or lowercase Letters,
$type = 3 is a combination of numbers and letters,
you can try it