PHP.nl

mt_srand

mt_srand

Seeds the Mersenne Twister Random Number Generator

void **mt_srand**  $seed int $mode

Seeds the random number generator with or with a random value if no is given. seed``seed

seed Fills the state with values generated with a linear congruential generator that was seeded with interpreted as an unsigned 32 bit integer. seed

   If  is omitted or null, a random unsigned
   32-bit integer will be used.
  `seed`

mode Use one of the following constants to specify the implementation of the algorithm to use.

  `MT_RAND_MT19937``MT_RAND_PHP`

return.void

mt_rand``mt_getrandmax``srand