当前位置: 首页 > 网络学院 > 服务端脚本教程 > PHP > mt_getrandmax() 函数
The mt_getrandmax() function returns the largest possible value that can be returned by the mt_rand() function.
mt_getrandmax()函数的作用是:显示所有通过mt_rand()函数产生的所有随机数中的最大可能值。
mt_getrandmax() |
<?php echo mt_getrandmax(); ?> |
The output of the code above could be:
上述代码将输出下面的结果:
2147483647 |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
吃惊 | 欠揍 | 支持 | 很棒 | 一般 | 搞笑 | 扯淡 | 不解 |