💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
# PHP mt_getrandmax() 函数 ## 定义和用法 mt_getrandmax() 显示随机数的最大可能值。 ### 语法 ``` mt_getrandmax() ``` ### 说明 返回调用 [mt_rand()](/php/func_math_mt_rand.asp "PHP mt_rand() 函数") 所能返回的最大的随机数。 ## 例子 ``` <?php echo mt_getrandmax(); ?> ``` 输出类似: ``` 3147483649 ```