Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7">

getrandmax

(PHP 3, PHP 4 )

getrandmax -- 乱数の最大値を取得する

説明

int getrandmax ( void)

rand() をコールすることにより得られる 最大の値を返します。

rand(), srand(), mt_rand(), mt_srand(), mt_getrandmax() も参照下さい。