Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93970 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34518 invoked from network); 14 Jun 2016 18:56:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2016 18:56:44 -0000 Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.20 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.20 mout.gmx.net Received: from [212.227.17.20] ([212.227.17.20:60867] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/51-27860-A6350675 for ; Tue, 14 Jun 2016 14:56:42 -0400 Received: from [192.168.2.102] ([217.82.228.97]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LoKHN-1bt5xf24Er-00gE3k; Tue, 14 Jun 2016 20:56:38 +0200 To: Leigh , Christoph Becker , internals@lists.php.net References: Message-ID: Date: Tue, 14 Jun 2016 20:56:53 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:z4PAXrKfD1rmgzERkLGYFmmVmXwrRQ9U+p5eu9Vq8ojfuTio7Vj K0DGfmFjHNNEdUf8AgPFcG7ZxjLl3TtctPrpkzeC58YeoerUYmr0woerxe4zR2X6ORyg5Fk deBc7IPcnHVDkcOBlHIbXCTHIAoyrjCJuNhlT23hd14SngNfRCAA/vp8OMGXfguh+MniZrr JOHNfZivZdD4Z8/7CCyUQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:AoEqdUL7Hq4=:pbLrPYeFqLtG4oaz50X4VB jyu/LsYWvaUMC/hU+u4Gdmnc2lkJBtjTTUM7Wc1FAPP6udxI+Gn7+4OjlDwvQ50VZAjU9wsgA 4UrBSDp99CUXZ2UdEi59fShkfgIyEPGbLFmYvxKOgHMdn7tcIbx4HlG1JYgzPEVbrGM09ZLrS 6MZBbAGoZHEHy1/DvX1zcH1ZBTo95EiUtedN11+K6asVcSxshJO5PN3NdWzBIGbI+1cRFVrXL 9SI6/cZUf6HNTktmdcv8xp9v4GENbSeVF6S4lduh9dYpvwx0JZxz/Yyq0/9yMREgrfpKE4CrX tgb63yfmEeWwUcwK3OlalXeCVBpmxxr0DgT3LMldtCIyjiOr9egsXo6mpic3Vs+l3d1yObV0l MPtG3Jo6VQ+q6eWfOcSa98KZKZOKX/L+mm0XLcZYcjvtTQS1wb7+WJMKWW3tsOe5OrSGjPumE iMpsJL9mEKkisbw0lm7w4oI3jINkbNKFc5Sj1Zyv7mpm/G21C6fJ16mn1TJ9/Ty9iFoQa8+Uu lyYIZkjw3vDkl6xOXev05KCGlUpFLFAYAOx75ZZrm6TyXdZrUO685LGiaxwlWrqiaXQo0+dz+ o9zMDgrWiNMrxykbrENbhHd0L5ts9kiJ+4YSWBsaYm5wX0RvCm8aAKFNLZpqSiOmCOAYXpHu3 du+KfZ2TPZYH5/lO504QjLOEySqnaJwQO/PKI/lNqLeOo9ioNqTFX9GFukgGBZNS/Ryca11Sa R4W/SaDyVTGxt7BM4sh4c6spVPsfKlniswS4qUc8xKipEStIhuKYalsVgcjC6ER+ssjtPqqPR AKgR0LQ Subject: Re: [PHP-DEV] [RFC] RNG fixes From: cmbecker69@gmx.de (Christoph Becker) On 14.06.2016 at 20:46, Leigh wrote: > On Tue, 14 Jun 2016 at 19:14 Christoph Becker wrote: > >> In my opinion, we need at least one random function which yields >> reproducible values. > > Even with the proposed changes both functions will still be capable of > reproducible sequences, just different sequences than before the changes. Yes, I'm aware of that, and that change isn't an issue for me (except maybe that it might happen in a minor version). I was responding to Richard (Fleshgrinder) who suggested to remove rand() and mt_rand() alltogether, because there is random_int(). -- Christoph M. Becker