getrandmax
(PHP 4, PHP 5, PHP 7, PHP 8)
getrandmax — 显示随机数最大的可能值
说明
function getrandmax():
int
返回调用 rand() 可能返回的最大值。
Anonymous ¶ 3 years ago
On a stock installation as of version 7.4.33 / 8.1.12, this function seems to return 2147483647 (maximum 32-bit integer).