PHP Math函数
返回可由rand()返回的随机数最大的可能值:
<?php echo(getrandmax()); ?>
运行实例
getrandmax()函数返回可由rand()返回的最大可能值。
getrandmax();