mt_rand with two arguments : Random « Math « PHP






mt_rand with two arguments

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


print("With two arguments: " .mt_rand(27, 31) . "<BR>");
print("With two arguments: " .mt_rand(27, 31) . "<BR>");
print("With two arguments: " .mt_rand(27, 31) . "<BR>");

?>

           
       








Related examples in the same category

1.mt_rand with no arguments