Bug #12550 Updated: rand() and mt_rand() don't behave as documented

From: Date: Sun, 12 Aug 2001 21:35:21 +0000
Subject: Bug #12550 Updated: rand() and mt_rand() don't behave as documented
References: 1  Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-63022@lists.php.net to get a copy of this message
ID: 12550 Updated by: jeroen Reported By: sulka@sulake.com Old Status: Open Status: Closed Bug Type: Documentation problem Operating System: N/A PHP Version: 4.0.6 New Comment: Fixed. Hope this _is_ accepted... --Jeroen Previous Comments: ------------------------------------------------------------------------ [2001-08-09 03:17:38] sniper@php.net Reopened. My workaround wasn't accepted either. :) --Jani ------------------------------------------------------------------------ [2001-08-09 01:56:09] sniper@php.net I have committed yet another fix for this.. --Jani ------------------------------------------------------------------------ [2001-08-08 16:59:08] tom@php.net Reopened, since DSSSL doesn't act as expected, and I'm not allowed to do a workaround. ------------------------------------------------------------------------ [2001-08-06 17:09:31] tom@php.net IT's changes in the CVS, and will be online tomorrow... ------------------------------------------------------------------------ [2001-08-03 21:09:30] sniper@php.net The documentation is wrong. The proto is this: mt_rand([int min, int max]) --Jani ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=12550 Edit this bug report at http://bugs.php.net/?id=12550&edit=1

« previous php.dev (#63022) next »