导航首页 » 技术教程 » PHP:getrandmax()的用法_Math函数
PHP:getrandmax()的用法_Math函数 117 2024-01-01   

getrandmax

(PHP 4, PHP 5)

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

说明

int getrandmax ( void )

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

返回值

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

参见

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



!!!站长长期在线接!!!

网站、小程序:定制开发/二次开发/仿制开发等

各种疑难杂症解决/定制接口/定制采集等

站长微信:lxwl520520

站长QQ:1737366103