mt_srand()
void mt_srand ([ int $seed [, int $mode = MT_RAND_MT19937 ]] )
Parameter | DESCRIPTION |
$seed | Optional : Seed used |
$mood | Optional : MT_RAND_MT19937 or MT_RAND_PHP |
No Output is generated.
Example 1
mt_srand(time());
echo mt_rand();
This article is written by plus2net.com team.
plus2net.com
|