略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: getrandmax

2024-05-02

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.

官方地址:https://www.php.net/manual/en/function.getrandmax.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3