Re: svn: /php/php-src/trunk/ NEWS UPGRADING ext/standard/basic_functions.c
| From: | Pierre Joye | Date: | Fri, 01 Oct 2010 09:43:12 +0000 |
| Subject: | Re: svn: /php/php-src/trunk/ NEWS UPGRADING ext/standard/basic_functions.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-63594@lists.php.net to get a copy of this message | ||
On Fri, Oct 1, 2010 at 11:18 AM, Kalle Sommer Nielsen <kalle@php.net> wrote:
> kalle Fri, 01 Oct 2010 09:18:44 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=303912
>
> Log:
> * Added PHP_RAND_MAX and PHP_MT_RAND_MAX constants
> * Deprecated getrandmax() and mt_getrandmax() in favour of the new constants
What is the reasoning behind that? It could be possible that the
max/min has to be defined at runtime at some point.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org