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

search for in the

hexdec> <fmod
Last updated: Fri, 20 Nov 2009

view this page in

getrandmax

(PHP 4, PHP 5)

getrandmaxShow largest possible random value

Description

int getrandmax ( void )

Returns the maximum value that can be returned by a call to rand().

Return Values

The largest possible random value returned by rand()

See Also



add a note add a note User Contributed Notes
getrandmax
rymo
29-Oct-2009 10:46
for those in a hurry, 2147483647 is probably the number you're looking for (2^31 - 1 = 0x7FFFFFFF)

hexdec> <fmod
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites