PHP 数学函数

PHP getrandmax() 函数用于返回最大可能的随机值。它使用 rand() 返回最大值。

语法

Int getrandmax ();

它没有输入参数

示例

<?php
echo(getrandmax());
?>

输出:

2147483647