PHP mt_getrandmax() 函数

定义和用法
mt_getrandmax() 显示随机数的最大可能值。
语法
mt_getrandmax()
说明
返回调用 mt_rand() 所能返回的最大的随机数。
例子
<?php
echo mt_getrandmax();
?>
echo mt_getrandmax();
?>
输出类似:
3147483649

mt_getrandmax() 显示随机数的最大可能值。
返回调用 mt_rand() 所能返回的最大的随机数。
输出类似: