函数:getrandmax()


getrandmax

乱数的最大值。

语法: int getrandmax(void);

返回值: 整数

函数种类: 数学运算

内容说明

本函数计算乱数函数 rand() 可能取得的取得的最大乱数值。本函数不需参数。

参考

rand()  srand()  mt_rand()  mt_srand()  mt_getrandmax()  



[ 上一页 PHP 手册 下一页 ]

PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序