PHP mt_getrandmax() 函數(shù)
定義和用法
mt_getrandmax() 顯示隨機數(shù)的最大可能值。
語法
mt_getrandmax()
說明
返回調(diào)用 mt_rand() 所能返回的最大的隨機數(shù)。
例子
<?php echo mt_getrandmax(); ?>
輸出類似:
3147483649
mt_getrandmax() 顯示隨機數(shù)的最大可能值。
mt_getrandmax()
返回調(diào)用 mt_rand() 所能返回的最大的隨機數(shù)。
<?php echo mt_getrandmax(); ?>
輸出類似:
3147483649