Bug #2887 Updated: mt_rand(int min, int max) doesn't seem to use min and max
| From: | Bug Database | Date: | Mon, 22 May 2000 18:14:16 +0000 |
| Subject: | Bug #2887 Updated: mt_rand(int min, int max) doesn't seem to use min and max | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19231@lists.php.net to get a copy of this message | ||
ID: 2887
Updated by: hholzgra
Reported By: mikeuser@hotmail.com
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
mt_rand() divided by RAND_MAX instead of MT_RAND_MAX
on some platforms, espc. win32, theese are not
equal, and so the results are to low/high
fixed in CVS, PHP4 version was OK
Full Bug description available at: http://bugs.php.net/?id=2887