Re: [PHP-DOC] Bug #12550 Updated: rand() and mt_rand() don't behave as documented From: Jani Taskinen (sniper <email protected>)
Date: 08/13/01

On Mon, 13 Aug 2001 eschmid+sic <email protected> wrote:

>On Mon, Aug 13, 2001 at 07:29:16AM +0200, Jani Taskinen wrote:
>>
>> Now you assume that you need to pass arguments to these functions.
>> Which is not the case. Here's the proto:
>>
>> /* {{{ proto int rand([int min, int max])
>> Returns a random number */
>>
>> So revert that patch. mt_rand() / rand() accecpt either 2 parameters or
>> none at all. It was at least LESS wrong before. Now it's totally wrong.
>>
>> --Jani
>>
>> p.s. Egon, you still haven't explained me why my patch was wrong?
>
>The prototype in the php[3!4] is ok, but in the PHP manual it was wrong.

And now it's okay?! Yeah..

--Jani