PHP/Math/getrandmax

Материал из Web эксперт
Перейти к: навигация, поиск

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

   <source lang="html4strict">

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

 </source>