Bug #1166 Updated: rand() max value is always 1 greater than it should be.

From: Date: Sat, 27 Feb 1999 14:31:26 +0000
Subject: Bug #1166 Updated: rand() max value is always 1 greater than it should be.
Groups: php.dev 
Request: Send a blank email to php-dev+get-4307@lists.php.net to get a copy of this message
ID: 1166 Updated by: sas Reported By: mike24@bellsouth.net Status: Closed Bug Type: Misbehaving function Assigned To: Comments: This was fixed by Rasmus (I believe) revision 1.35 date: 1999/02/15 06:04:11; author: rasmus; state: Exp; lines: +18 -10 A slight tweak ---------------------------- revision 1.34 date: 1999/02/15 04:04:48; author: rasmus; state: Exp; lines: +23 -6 Fix the broken rand() and mt_rand() ranges Full Bug description available at: http://ca.php.net/bugs.php3?id=1166 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4307) next »