(PHP 3, PHP 4) rand() をコールすることにより得られる 最大の値を返します。 rand(), srand(), mt_rand(), mt_srand(), mt_getrandmax() も参照下さい。