From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.4pl1 PHP Bug Type: Math related Bug description: Bogus warning with rand(a,b) where a == b $value=rand(0,0); Gives "Warning: rand(): Invalid range: 0..0 in ..." while there is nothing wrong with it. Value shouldn't be invalid. I'm expecting a value of 0 with probability of 100% without any warnings or is this a feature? -- Edit Bug report at: http://bugs.php.net/?id=9277&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]