getrandmax

(PHP 3, PHP 4 )

getrandmax -- 显示随机数最大的可能值

说明

int getrandmax ( void )

返回调用 rand() 可能返回的最大值。

参见 rand(),srand() 和 mt_getrandmax()。