Test: /ext/standard/tests/general_functions/bug46587.phpt - Version 5.3.9RC3
Bug #46587 | mt_/rand produce out of range numbers when min = 0 and max > get_randmax | ||||
---|---|---|---|---|---|
Submitted: | 2008-11-17 02:50:20 | Modified: | 2010-11-23 14:09:23 | ||
From: | atomo64 | Assigned: | iliaa | ||
Status: | Closed | Package: | Math related | ||
PHP Version: | 5.2.6 | OS: | Debian sid |
There is 1 diff reported by users for this test.
Count | Diff |
---|---|
1 (100%) |
002+ int(8)
002-
003- Warning: mt_rand(): max(3) is smaller than min(8) in %s on line %d
004- bool(false)
|