LOADING STUFF...

PHP:getrandmax()的用法_Math函数

技术教程4小时前发布 北陌
25 0 0

PHP:getrandmax()的用法_Math函数

getrandmax

(PHP 4, PHP 5)

getrandmax — 显示随机数最大的可能值

说明

int getrandmax
( void
)

返回调用
rand() 可能返回的最大值。

返回值

rand() 返回
随机数可能返回的最大值

参见

rand() – 产生一个随机整数
srand() – 播下随机数发生器种子
mt_getrandmax() – 显示随机数的最大可能值

© 版权声明

相关文章

暂无评论

暂无评论...