Re: [PHP6] Merging rand and mt_rand()

From: Date: Mon, 24 Feb 2014 19:42:20 +0000
Subject: Re: [PHP6] Merging rand and mt_rand()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-72800@lists.php.net to get a copy of this message
On 24.02.2014, at 20:23, Marc Bennewitz <php@marc-bennewitz.de> 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

« previous php.internals (#72800) next »