ID: 50825
User updated by: xeriar at gmail dot com
Reported By: xeriar at gmail dot com
Status: Bogus
Bug Type: Math related
Operating System: Debian Squeeze
PHP Version: 5.2.12
New Comment:
As I mentioned, simply passing mt_rand (1,2) nets the
From: xeriar at gmail dot com
Operating system: Debian Squeeze
PHP version: 5.2.12
PHP Bug Type: Math related
Bug description: rand () and mt_rand () do not properly calculate when min=0
Description:
Whenever rand () or mt_rand () are passed with a min=0, 0 gets