Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93983 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61275 invoked from network); 14 Jun 2016 22:19:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2016 22:19:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.178 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.217.178 mail-lb0-f178.google.com Received: from [209.85.217.178] ([209.85.217.178:36317] helo=mail-lb0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/46-27860-00380675 for ; Tue, 14 Jun 2016 18:19:44 -0400 Received: by mail-lb0-f178.google.com with SMTP id ak10so1115800lbc.3 for ; Tue, 14 Jun 2016 15:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=P4JVd1CTUYAMH1mmExG/XyDcCwUl30Q7tjwFFH9bHSA=; b=wpwZFjLczn+gV+i180t8VLQHXTmUVMXnUFIq1pixONJOtBNcU9W8zf92J8OpIIpfrp qtgkuCKS77M06HrZ4euhaKmZSOMX9VSN6HMlHE79esomkxAs8MexEIX/whzmkY5KMPjI 0pXcUuAJYub0a95LVVDRDkEv5kppN8dT5epuKOuSsrEst8ipcrpCNsWVjMcm4QkVdKEp wDPiQdFOgobcrhLEcQj8fVomhtK7I1EIXK4mKDkk4YpDqIs03B3KPxX3VcUh2MkZHOO3 25bdk+JiyzjpqJC8Yyu9nOpygkj16KabBj/zY22ea9qksfbnE5eAbrj8MbwjFz0EqQrv 4BWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=P4JVd1CTUYAMH1mmExG/XyDcCwUl30Q7tjwFFH9bHSA=; b=Qg6OMVDyJUrCBAzSxGSOLvLmeNk9sSHCj1ekW4C0ZSh/2ASbcRvGnCRxgjC57U1LHb JH6MrOmNmlRIo0ApFnohMpC1JtsMHVdYyuCyX1IpncctSNHpIMSAfd3txGTcpNck0W3z Sy3WtlUGixoCEyY4meuKfPte73HVOv3Qj19ASEo19aNH8iXYzb1WxmYfFs9gI3J30vvq 0d2UgMuEfrJeqPhmjwaC2sx3R9rGaX43ySjwNleisGzSOrnZ1MeMe7uHAEtyGMOSfTNG VNnTKKPAO0OA4k8mcaOogdy0Iw/Jl1hhmuGNeXGza72eaxnlcjvjt7IXIyAbX8tNLwnC BRiQ== X-Gm-Message-State: ALyK8tLYACVKvX4rQL2GIdnQzvKp/AAPQXfqbQAq2gqeoDjtt/oOCdrJW6udg9l8Y8ZYihAN8z9L4txq6v3rsw== X-Received: by 10.25.17.210 with SMTP id 79mr2073753lfr.113.1465942781395; Tue, 14 Jun 2016 15:19:41 -0700 (PDT) MIME-Version: 1.0 References: <1ee34970-76f4-e6c6-df1e-a827e3fc592d@fleshgrinder.com> In-Reply-To: Date: Tue, 14 Jun 2016 22:19:31 +0000 Message-ID: To: Davey Shafik , internals@lists.php.net Content-Type: multipart/alternative; boundary=001a113fbc9cbf086c05354466fe Subject: Re: [PHP-DEV] [RFC] RNG fixes From: leight@gmail.com (Leigh) --001a113fbc9cbf086c05354466fe Content-Type: text/plain; charset=UTF-8 On Tue, 14 Jun 2016 at 20:56 Davey Shafik wrote: > > I think as this is a BC break it should require the 2/3 majority. I do > support fixing the RNGs though. > Sure if there's a consensus on that, I have no problem with it. Have you done any checks on GitHub etc to see how widespread this usage is? > I'd like to get some data on that too. > I have checked, but it's really difficult to find legitimate use cases of srand and mt_srand. I spent some time stacking up "NOT xyz" terms in the search, and still didn't find anything that actually relied on deterministic streams of numbers. --001a113fbc9cbf086c05354466fe--