PHP Math 函數
返回可由 rand() 返回的隨機數最大的可能值:
<?php echo(getrandmax()); ?>
運行實例
getrandmax() 函數返回可由 rand() 返回的最大可能值。
getrandmax();