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

发表日期:2021-07-01 08:56:07 | 来源: | | 浏览(588) 分类:Math 函数

getrandmax

(PHP 4, PHP 5, PHP 7, PHP 8)

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

说明

getrandmax(): int

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

返回值

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

参见

集速网 copyRight © 2015-2022 宁ICP备15000399号-1 宁公网安备 64010402001209号
与其临渊羡鱼,不如退而结网
欢迎转载、分享、引用、推荐、收藏。