mt_getrandmax

(PHP 3 >= 3.0.6, PHP 4, PHP 5)

mt_getrandmax -- 乱数値の最大値を表示する

説明

int mt_getrandmax ( void )

mt_rand() のコールにより返される 最大の値を返します。

mt_rand()mt_srand() および getrandmax() も参照ください。