[edited by: Habtom at 1:24 pm (utc) on Aug. 22, 2007]
Little_G
1:05 pm on Aug 22, 2007 (gmt 0)
Hi,
Also take a look at the mt_rand [php.net] function because it's faster.
Andrew
lj2007
1:29 pm on Aug 22, 2007 (gmt 0)
I though mt_rand was slower but more random?
Little_G
1:33 pm on Aug 22, 2007 (gmt 0)
Hi,
From php.net:
It uses a random number generator with known characteristics using the » Mersenne Twister, which will produce random numbers four times faster than what the average libc rand() provides.