Re: rand() function not working right

From: Date: Sun, 31 Aug 2003 07:18:12 +0000
Subject: Re: rand() function not working right
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-161285@lists.php.net to get a copy of this message
hope not ... winxp ----- Original Message ----- From: "Curt Zirzow" <php-general@zirzow.dyndns.org> To: <php-general@lists.php.net> Sent: Sunday, August 31, 2003 5:13 PM Subject: Re: [PHP] rand() function not working right > * Thus wrote john (jake@infctd.net): > > youre not the only one .. i just installed 4.3.3 and $x = rand(1,173); > > always returns 101 for $x > > > > i changed to mt_rand(1,173); and that always returns 142 ??? > > > > weirdness .. dont tell me this is happening to only me? > > it works find with 4.3.3RC1 on unix. I'm curious if this is an OS > issue, what OS are you running php on? > > > > Curt > -- > "I used to think I was indecisive, but now I'm not so sure." > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#161285) next »