php random number principle:
The system automatically generates a random number seed (seed mt_srand function can generate their own), the mt_rand first determine whether there is a seed generation, a generation does not automatically, and then generate a random number seed according to.
Generate random numbers 10000-99999 :( study recommended: PHP Programming from entry to the master)
1 2 3 |
|
A little experiment:
1 2 3 4 5 |
|
Blasting out random number seed, using the tools php_mt_srand
Generating a random number string:
1 2 3 4 5 6 7 8 9 10 11 12 |
|
"What marble mechanical components." Note the use of marble mechanical components? How to use marble mechanical components correct?