Re: CVS update: php3
| From: | Dave Walton | Date: | Wed, 26 Aug 1998 21:35:42 +0000 |
| Subject: | Re: CVS update: php3 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-594@lists.php.net to get a copy of this message | ||
On 26 Aug 98, at 19:44, zeev wrote:
> + - rand() now accepts two optional arguments, which denote the requested range
> + of the generated number. E.g., rand(3,7) would generate a random number
> + between 3 and 7.
Nifty!
For the docs, you should probably say "from 3 to 7, inclusive" to
make it more clear what the bounds are. "Between 3 and 7" could
be interpreted as 4, 5, 6.
Dave
----------------------------------------------------------------------
Dave Walton
Webmaster, Postmaster Nordic Entertainment Worldwide
walton@nordicdms.com http://www.nordicdms.com
----------------------------------------------------------------------
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net