mt_rand with no arguments : Random « Math « PHP






mt_rand with no arguments

<?
print("Seeding the generator<BR>");
mt_srand((double)microtime() * 1000000);

print("With no arguments: " . mt_rand() . "<BR>");
print("With no arguments: " . mt_rand() . "<BR>");
print("With no arguments: " . mt_rand() . "<BR>");
?>

           
       








Related examples in the same category

1.mt_rand with two arguments