On 2016-08-15 18:53, Tom Worster wrote:
Hi Lauri,

Do you have a PR against php-src on github? It's easier to read and comment.

Tom


Here's a PR with a revised patch (also accepts other than pure integers):

https://github.com/php/php-src/pull/2089


And here's an alternative with no sanity checks at all, which makes the patch even simpler (and more PHP-like, since 'foo' is silently converted to zero; this truly the most marvelous feature of PHP).

https://github.com/Metabolix/php-src/tree/mt_srand_array-v3

--
Lauri Kenttä

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

Reply via email to