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

search for in the

hexdec> <fmod
Last updated: Sun, 25 Nov 2007

view this page in

getrandmax

(PHP 4, PHP 5)

getrandmax — 랜덤 값의 가장 큰 값을 보여줍니다.

설명

int getrandmax ( void )

rand()를 호출함으로써 얻을 수 있는 가장 큰 값을 반환합니다.

참고: rand(), srand(), mt_getrandmax().



add a note add a note User Contributed Notes
getrandmax
stefan at aks-host dot de
01-Jan-2008 11:09
under win2k3, php5.2.5, it returns 32767...
chax-phpnet at i-rpg dot net
02-Dec-2007 07:27
it returns 2147483647 (2^31) for both i386 and x86_64 under GNU/Linux.

hexdec> <fmod
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites