Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94417 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70616 invoked from network); 7 Jul 2016 14:52:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jul 2016 14:52:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=fsb@thefsb.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=fsb@thefsb.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thefsb.org designates 108.166.43.99 as permitted sender) X-PHP-List-Original-Sender: fsb@thefsb.org X-Host-Fingerprint: 108.166.43.99 smtp99.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.99] ([108.166.43.99:56180] helo=smtp99.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/6A-18622-2CC6E775 for ; Thu, 07 Jul 2016 10:52:52 -0400 Received: from smtp21.relay.ord1c.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp21.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 19B85380261; Thu, 7 Jul 2016 10:52:48 -0400 (EDT) X-Auth-ID: fsb@thefsb.org Received: by smtp21.relay.ord1c.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id DA69A380244; Thu, 7 Jul 2016 10:52:47 -0400 (EDT) X-Sender-Id: fsb@thefsb.org Received: from yossy.local (c-66-30-62-12.hsd1.ma.comcast.net [66.30.62.12]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:587 (trex/5.5.4); Thu, 07 Jul 2016 10:52:48 -0400 To: Leigh , internals@lists.php.net References: Message-ID: Date: Thu, 7 Jul 2016 10:52:16 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [RFC][VOTE] RNG fixes From: fsb@thefsb.org (Tom Worster) On 7/7/16 6:39 AM, Leigh wrote: > As the discussion thread has been quiet for a while, moving this RFC to voting. > > https://wiki.php.net/rfc/rng_fixes > > https://github.com/php/php-src/pull/1986 > Nice work. The discussion persuaded me (Nikita mostly) that aliasing rand() to mt_rand() is sensible. And the compromise to fix the mt_rand() bug is good enough. Everything else is pretty much uncontroversial, I would think. A more efficient RNG can wait for another day. Tom