The PHP srand() function seeds the random number generator (rand()).
Syntax
srand(seed)
Parameter
Parameter | Description |
---|---|
seed | Specifies the seed value |
The PHP srand() function seeds the random number generator (rand()).
srand(seed)
Parameter | Description |
---|---|
seed | Specifies the seed value |