Re: [PHP-DEV] mt_rand deprecated in trunk?

2010-10-05 Thread Richard Quadling
On 4 October 2010 20:42, Michael Maclean  wrote:
> Hi,
> The comment on this commit:
> http://svn.php.net/viewvc?view=revision&revision=303912
> suggest getrandmax() and mt_getrandmax() were to be deprecated, but it seems
> Kalle might have typoed and deprecated mt_rand() instead - is that the case?
>
> --
> Cheers,
> Michael
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Yep. Looks like it ...

http://svn.php.net/viewvc/php/php-src/trunk/ext/standard/basic_functions.c?r1=303912&r2=303911&pathrev=303912&view=patch


-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] mt_rand deprecated in trunk?

2010-10-04 Thread Michael Maclean

Hi,
The comment on this commit:
http://svn.php.net/viewvc?view=revision&revision=303912
suggest getrandmax() and mt_getrandmax() were to be deprecated, but it 
seems Kalle might have typoed and deprecated mt_rand() instead - is that 
the case?


--
Cheers,
Michael

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php