Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94444 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6573 invoked from network); 9 Jul 2016 09:05:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jul 2016 09:05:24 -0000 Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.41 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.215.41 mail-lf0-f41.google.com Received: from [209.85.215.41] ([209.85.215.41:35357] helo=mail-lf0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/6A-18622-35EB0875 for ; Sat, 09 Jul 2016 05:05:23 -0400 Received: by mail-lf0-f41.google.com with SMTP id l188so41390654lfe.2 for ; Sat, 09 Jul 2016 02:05:23 -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 :cc; bh=RagI8yviAgk8ATZNBTyjLJ4ElH2d6us2iaaxuN7+KfA=; b=nJXDnyuQp46vlPMNsFob8zjaeOeo4SHimov1PxMTs3LzFzghIj4D9iYr5OXn6aCY9Y ScLBDQ6Qdi95Em38Af1rg4z3Je3PrlKilqTKyXRSuvimemGvluUS1aEsYnqycZkgpOvM k07zeaJiBoPEHz0vcBUwS7E96zfFEtfjCMr1vfWogHJ15h1mfNDJDdDjhvcdsMmi1XXd ogu6KaQtlBv+nUX/ED5NcwEC6BBYpyCO+1yyDOyzs6GcQ8BJ2Ovf+YVkmQYlloqc97ty SPMVPJHDvnxqZFvWvluo1h1SqOoRx8YABAxG8IOEsCF07fmzZaTzXQA4AB9PldXaXrkZ orQA== 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:cc; bh=RagI8yviAgk8ATZNBTyjLJ4ElH2d6us2iaaxuN7+KfA=; b=SsHEoMTRFAFyywzVbzobtD3mG0ATfW3MqqErjAsaGIce/OJ+Z0G8D/HVpC7OnXCWM1 rukOzPxdibfa3Z/4SjswxtbssMfRw5Txd761QI+SuKaDHgJELITy1h53XaJ9e+L1BcWr DTCoCBw6UjxrfEXKze44mqdBTgRb825Gn5RLTtkqyep3w6jEQZMzPAtgtt+B2R5IR/aq FJHHTQFY+1/0wMlXH5gztKetFyD3/O+xnMzRqRINvU8wfklsv2OkdfbSGpvuoHZguV1B gZcjjSlxal6diA4gqaGNsPXfGlvTGirMgq/ss4+DNlCMO+a7InHL8QShHCflLtg/3PU4 M0uQ== X-Gm-Message-State: ALyK8tKmD1JIxXJHIvv0oeeVkgcxFHkqL7AtNFcydmOQuUlvQ2ki9fYSA7z5WxRbrPQL7UXmFjsDLCLTE1tT/w== X-Received: by 10.25.148.200 with SMTP id w191mr2114382lfd.2.1468055120770; Sat, 09 Jul 2016 02:05:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 09 Jul 2016 09:05:11 +0000 Message-ID: To: Pierre Joye Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11402e62fc00bb0537303762 Subject: Re: [PHP-DEV] [RFC][VOTE] RNG fixes From: leight@gmail.com (Leigh) --001a11402e62fc00bb0537303762 Content-Type: text/plain; charset=UTF-8 On Sat, 9 Jul 2016 at 09:49 Pierre Joye wrote: > > 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.... > Just to be clear, you voted no to one BC break, but yes to other BC breaks. I don't know how you pick which ones are acceptable, and which are not. Summary BC breaks you voted for: * No to changing the output of mt_rand after calling mt_srand with a given seed (when not specifying a min/max) * Yes to changing the output of mt_rand after calling mt_srand with a given seed (when specifying a min/max) * Yes to changing the output of rand, shuffle, str_shuffle and array_rand Do you see why this looks weird to me? --001a11402e62fc00bb0537303762--