Re: [PHP6] Merging rand and mt_rand()
On 24.02.2014, at 00:01, Rouven Weßling <[email protected]> wrote:
> Maybe it would be a good idea to deprecate those and not include them in PHP6? It's
> probably safer to provide a dedicated sequence generator, than having people abuse our PRNGs.
Coming back to this, I hacked up a sequence generator we could include PHP 5.x to reduce these
concerns: https://github.com/realityking/php-src/compare/php:master...realityking:sequenceGenerator
If there's interest in this, I'd clean it up (lots of duplicated code between mt_rand and
this right now) and propose it for 5.7.
Best regards
Rouven
Thread (15 messages)