[PHP-DEV] Bug #1166 Updated: rand() max value is always 1 greater than it should be. From: Bug Database (php-dev <email protected>)
Date: 02/27/99

ID: 1166
Updated by: sas
Reported By: mike24 <email protected>
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 <email protected>
For help: php-dev-help <email protected>