Both random generators provide functions to get the value of MAX_RAND. : getrandmax « Math « PHP






Both random generators provide functions to get the value of MAX_RAND.

 
<?php

echo "getrandmax() = " . getrandmax() . "\n";
echo "mt_getrandmax() = " . mt_getrandmax() . "\n";
?>
  
  








Related examples in the same category