downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mt_rand> <min
Last updated: Fri, 06 Nov 2009

view this page in

mt_getrandmax

(PHP 4, PHP 5)

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

説明

int mt_getrandmax ( void )

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

返り値

mt_rand() が返す乱数の最大値を返します。

参考

  • mt_rand() - よりよい乱数値を生成する
  • mt_srand() - 改良型乱数生成器にシードを指定する
  • getrandmax() - 乱数の最大値を取得する



add a note add a note User Contributed Notes
mt_getrandmax
There are no user contributed notes for this page.

mt_rand> <min
Last updated: Fri, 06 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites