Re: [RFC: PATCH v1] Implement mt_srand_array
| From: | Lauri Kenttä | Date: | Fri, 19 Aug 2016 18:20:19 +0000 |
| Subject: | Re: [RFC: PATCH v1] Implement mt_srand_array | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-95321@lists.php.net to get a copy of this message | ||
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. TomHere'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ä