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

search for in the

mt_rand> <min
Last updated: Fri, 04 Jul 2008

view this page in

mt_getrandmax

(PHP 4, PHP 5)

mt_getrandmax — Mostrar el mayor valor aleatorio posible

Descripción

int mt_getrandmax ( void )

Devuelve el valor máximo que puede ser devuelto por una llamada a mt_rand().

Valores retornados

Devuelve el valor aleatorio máximo devuelto por mt_rand()



mt_rand> <min
Last updated: Fri, 04 Jul 2008
 
add a note add a note User Contributed Notes
mt_getrandmax
rafael at phpit dot com dot br
05-Apr-2008 03:20
For Turion 64 X2 processor and Linux 2.6.22 kernel, it returns 2147483647.
julien dot a at deltaconnexion dot com
12-Feb-2008 11:30
For 32-bit PPC processor and 10.4.11, it returns 2147483647.
fontajos at phpeppershop dot com
15-Nov-2007 01:22
For 32-Bit WindowsXP with PHP5 it returns: 2147483647
rafael at phpit dot com dot br
30-Oct-2007 04:37
For 64-bit AMD processor and Linux 2.6 kernel (SuSE 64), it returns the same: 2147483647.
drt at nospam dot scythe dot pl
26-Oct-2007 10:21
For 32-bit Intel processor and Linux 2.6 kernel, it returns 2147483647.

mt_rand> <min
Last updated: Fri, 04 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites