Re: [PHP6] Merging rand and mt_rand()
On 24.02.2014, at 20:23, Marc Bennewitz <[email protected]> wrote:
> I already wrote down an idea for a very simple bc-safe API:
>
> http://grokbase.com/t/php/php-internals/138wn1sy5g/more-powerful-and-backward-compatible-api-of-random-number-generator-functions
> (Can't find the direct link to http://news.php.net/php.internals/????)
I like the idea, and many parts of that API. However I don't see a need for multiple unsafe
PRNGs. If we'd drop the mt_rand function (or make it alias) we'd still have a backwards
compatibility break.
So please don't let get this proposal in the way of yours in any form, this is mostly about
loosing system rand which would still map to your proposal.
Best regards
Rouven
Thread (15 messages)