mt_srand

It  seed the better random number generator

Example

<?php
mt_srand(mktime());
echo(mt_rand());
?>

Output

254590754

Share