getrandmax

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

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

说明

getrandmax(): int

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

返回值

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

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

备份地址:http://www.lvesu.com/blog/php/function.getrandmax.php