ID: 9277
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Math related
Assigned To: 
Comments:

It's not a bug, it's clear that this was supposed not to work. And if you try rand 
(1,1) it wont work either.
Another thing; I don't see why this would be usefull.

Previous Comments:
---------------------------------------------------------------------------

[2001-02-15 07:43:35] [EMAIL PROTECTED]
$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?

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9277&edit=2


-- 
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]

Reply via email to