Date: 08/13/01
- Next message: Hojtsy Gabor: "RE: [PHP-DOC] cvs: phpdoc /en/functions dbplus.xml ming.xml mysql .xml /nl/functions apache.xml"
- Previous message: Jani Taskinen: "Re: [PHP-DOC] Bug #12550 Updated: rand() and mt_rand() don't behave as documented"
- In reply to: Jani Taskinen: "Re: [PHP-DOC] Bug #12550 Updated: rand() and mt_rand() don't behave as documented"
- Next in thread: Jani Taskinen: "Re: [PHP-DOC] Bug #12550 Updated: rand() and mt_rand() don't behave as documented"
- Reply: Jani Taskinen: "Re: [PHP-DOC] Bug #12550 Updated: rand() and mt_rand() don't behave as documented"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
-Egon
-- All known books about PHP and related books: http://php.net/books.php Concert Band of the University of Hohenheim: http://www.concert-band.de/ First and second bestselling book in German: http://www.php-buch.de/
- Next message: Hojtsy Gabor: "RE: [PHP-DOC] cvs: phpdoc /en/functions dbplus.xml ming.xml mysql .xml /nl/functions apache.xml"
- Previous message: Jani Taskinen: "Re: [PHP-DOC] Bug #12550 Updated: rand() and mt_rand() don't behave as documented"
- In reply to: Jani Taskinen: "Re: [PHP-DOC] Bug #12550 Updated: rand() and mt_rand() don't behave as documented"
- Next in thread: Jani Taskinen: "Re: [PHP-DOC] Bug #12550 Updated: rand() and mt_rand() don't behave as documented"
- Reply: Jani Taskinen: "Re: [PHP-DOC] Bug #12550 Updated: rand() and mt_rand() don't behave as documented"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

