The PHP mt_srand() function seeds the Mersenne Twister random number generator.
Syntax
mt_srand()
// or
mt_srand(seed, mode)
Parameters
Parameter | Description |
---|---|
seed | Specifies the seed value |
mode | Specifies the algorithm to use:
|