« PHP:getrandmax()的用法 时间:2024-3-1 21:58 作者:韩俊 分类: PHP getrandmax (PHP 4, PHP 5) getrandmax — 显示随机数最大的可能值 说明 int <strong>getrandmax</strong> ( void ) <p> 返回调用 rand() 可能返回的最大值。 </p> 返回值 rand() 返回 随机数可能返回的最大值 参见 rand() - 产生一个随机整数 srand() - 播下随机数发生器种子 mt_getrandmax() - 显示随机数的最大可能值 标签: php php教程 上一篇PHP:exp()的用法 下一篇PHP:floor()的用法 热门推荐 1 php多进程并发执行2 php如何判断字符串是中文还是数字3 thinkPHP中钩子的使用方法实例分析4 php怎么判断为空数组5 PHP7.0中命名空间的作用是什么?6 PHP中使用__call和__callStatic动态创建方法7 PHP中的签名和验签8 PHP编程获取各个时间段具体时间的方法9 PHP:time()的用法10 ThinkPHP模板标签eq if 中区分0,null,false的方法