#50825 [Bgs]: rand () and mt_rand () do not properly calculate when min=0

2010-01-22 Thread xeriar at gmail dot com
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

#50825 [NEW]: rand () and mt_rand () do not properly calculate when min=0

2010-01-22 Thread xeriar at gmail dot com
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