Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94442 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3293 invoked from network); 9 Jul 2016 08:49:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jul 2016 08:49:11 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.41 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.218.41 mail-oi0-f41.google.com Received: from [209.85.218.41] ([209.85.218.41:35860] helo=mail-oi0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 26/B9-18622-78AB0875 for ; Sat, 09 Jul 2016 04:49:11 -0400 Received: by mail-oi0-f41.google.com with SMTP id f189so89041858oig.3 for ; Sat, 09 Jul 2016 01:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=j4IQ6ZNCRhllau9IQI2h/SJvD3diUjIqrK/WveQq/m4=; b=o0Tf+AHixbum6cOlHbstEcxznWqyXXL2OoP4tDEQQCvdDw7RL1gyd/OcJc2PkZwelW cRyzMxPJpZRzcQYHy4e+83PUO0XK0FsdaArSStpQcvqVCFq9uEWtscCaJww5n1KGvGs/ 48LObrIqoOL7lLbxDNnq81y8UY1BaPq1FT/vG6Xwn9S63z3kC9SA5URpjgK5RrhKqicz HRicMSQbnUAxQpKFFAnuXrcn/lWW9EdO/+e+QZJsi+Yo2IS9fIZJOETge4+tYdEODAHz WLWWtIfRbKkMXkaQ+jBYjHN/aPzAQh4pBnHNv7fKoqVu0fKIsv3R86MH8/Uye4u0ghgi Ywqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=j4IQ6ZNCRhllau9IQI2h/SJvD3diUjIqrK/WveQq/m4=; b=R/X658wjmovWQ8Do9gDPDEbtvqZTDo70zAmXGwD4j4RR8gu+I+khsTltuDmlB0ZGAv im3WelUE6PsIrjgBYMIJ/NHtKwdP4RVJLkCfZz0Dd6GvCN5LIrtdRgEw891otVnQmA1r pkve0UM/u/UKOd+2OGthOnH/dfmcBZI6gOQ/wGLdtM2ftXArt6WAWTtJFDxT7Q3AeipO 0ZX8UWDBzTU16VpftEVFgqemjQ21msRuAbBEEVOzIhoVgX61eiNsF9AZ1qeVgyYvFjTi Kc2D5rhheDzIXK1c0LRPQYWWEKXqYI/avJmu9fNFMybujxHTz70uOpB1aFWvVXvamLp+ DXUw== X-Gm-Message-State: ALyK8tKMqKqGMPCa17BFxAenUq9tJNCO+sO7XKuh0/7E82VGFwS3FJoCOOzAvfu6rE144L9K2Hz1/Yfva4a72g== MIME-Version: 1.0 X-Received: by 10.157.12.248 with SMTP id o53mr5763357otd.0.1468054148398; Sat, 09 Jul 2016 01:49:08 -0700 (PDT) Received: by 10.202.190.3 with HTTP; Sat, 9 Jul 2016 01:49:08 -0700 (PDT) Received: by 10.202.190.3 with HTTP; Sat, 9 Jul 2016 01:49:08 -0700 (PDT) In-Reply-To: References: Date: Sat, 9 Jul 2016 15:49:08 +0700 Message-ID: To: Leigh Cc: PHP internals Content-Type: multipart/alternative; boundary=001a1149574006c7d505372ffe56 Subject: Re: [PHP-DEV] [RFC][VOTE] RNG fixes From: pierre.php@gmail.com (Pierre Joye) --001a1149574006c7d505372ffe56 Content-Type: text/plain; charset=UTF-8 On Jul 9, 2016 3:19 PM, "Leigh" wrote: > > > On Sat, 9 Jul 2016 at 08:48 Pierre Joye wrote: >> >> So, I voted no then as it is clear that you do not see a problem to >> break codes without a single warning or time to adapt before. >> >> The other sections are fine and voted yes. > > > For the part where you voted no. Still nobody has presented (publicly available) source that makes legitimate use of mt_srand (yes it's mt_srand that is "broken" here, not mt_rand) for deterministic streams of random numbers. I can only assume by this that almost nobody does. However, for those that do, they can still use the old algorithm. I am sorry but this PR possibly breaks BC and cases have been clearly explained how and why. Asking to show production code publically is not something that you should request. I can write a sample app to show you how but given the explanations many gave already.... > For all of the other sections where you voted yes, they are mostly bug fixes, but all change the output of mt_rand AND more functions (without a single warning, like you wanted). I'm not trying to encourage you to change any votes, but I need to make sure you understand what you're voting for. --001a1149574006c7d505372ffe56--