Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93975 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44101 invoked from network); 14 Jun 2016 19:56:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jun 2016 19:56:36 -0000 Authentication-Results: pb1.pair.com header.from=davey@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@daveyshafik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daveyshafik.com from 209.85.215.52 cause and error) X-PHP-List-Original-Sender: me@daveyshafik.com X-Host-Fingerprint: 209.85.215.52 mail-lf0-f52.google.com Received: from [209.85.215.52] ([209.85.215.52:33573] helo=mail-lf0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/43-27860-27160675 for ; Tue, 14 Jun 2016 15:56:35 -0400 Received: by mail-lf0-f52.google.com with SMTP id f6so534823lfg.0 for ; Tue, 14 Jun 2016 12:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=php-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=tYxGfRVTWoWIXufYYavHjO2W5TqD2DtJ/BmqgNt8GsI=; b=PkEOx796KRxJtt8/GUi3vV3MR9gpdKIhlshJa5Wcnqfnw+PqcUW+Xno9fF5/9qglif La9LT1cBiuKGqSwemikIDe0HgbFwIJCN7L3dVEBhocBVF+vwdKiGe3B2MBEWERjT8cdL fW3ThBc+rOAbiUD01HoECok0P6locATLWrcdeKpT7mvNJ5bOCUZ5pRD8MRPv3X3Fr6wq CSfuFIdwWnQ5FUEOO6qL/tX/WAdSoTIPMPStZ3Ve8TohME33OiRVORalYoU2m3V+VSFo 0G3FCkGazCjsSgooXmVIgEDblw6Bx+OUHUCnh0FRr13q9Fh/P/es2Ukqi/90Swmm59Eo getQ== 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=tYxGfRVTWoWIXufYYavHjO2W5TqD2DtJ/BmqgNt8GsI=; b=h8V7w4V2elgowjtisEEY64tT4je7PwntqW7NBZ1lT9eebjuahnPWYf6j26WUvTSEtd wpTeYkMy/q90ZkEDKaKggeej8x+ongze0hYP1D25zsiy3LmUWHz9bg0RJ/IhRyYzKqI8 5dex096JVrgb4VwL73AyhmEj7q3OqOxMcQ/iLLIpYl16iRgld5aK6vrAYoRJHn796c+C Tmcnwl9jNznF8TZpKI2XGboWXJW0G7qRhrGzMCYImDAlNoq8ENqUCmC9O3HXgVcyTGoW 33Cwd/9NeVBp2y8dRkglmg2G/4AFBju9RbiFC7D5g1w6G9TT9L7gnCNhbwL0wW8IUIfN y3sg== X-Gm-Message-State: ALyK8tL9dc+izLADFAtHYeIUPFt79ebm88ewG4SidErKpsbtJFbkciYK3cL2pSqETlt5o8Q9k6PcVZZaP91qEPOC X-Received: by 10.25.44.148 with SMTP id s142mr2391488lfs.146.1465934191687; Tue, 14 Jun 2016 12:56:31 -0700 (PDT) MIME-Version: 1.0 References: <1ee34970-76f4-e6c6-df1e-a827e3fc592d@fleshgrinder.com> In-Reply-To: <1ee34970-76f4-e6c6-df1e-a827e3fc592d@fleshgrinder.com> Date: Tue, 14 Jun 2016 19:56:21 +0000 Message-ID: To: Christoph Becker , Leigh , internals@lists.php.net Content-Type: multipart/alternative; boundary=001a114106b0c2940305354266b1 Subject: Re: [PHP-DEV] [RFC] RNG fixes From: davey@php.net (Davey Shafik) --001a114106b0c2940305354266b1 Content-Type: text/plain; charset=UTF-8 On Tue, Jun 14, 2016 at 20:13 Fleshgrinder wrote: > On 6/14/2016 8:56 PM, Christoph Becker wrote: > > 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(). > > > > I understood how you mean it. :) > > Call me ignorant but is this required in typical web applications? > Couldn't we move this functionality to PECL? I mean, it is required in > games but other than that. > > Please correct me if that is wrong! > > -- > Richard "Fleshgrinder" Fussenegger > > I think as this is a BC break it should require the 2/3 majority. I do support fixing the RNGs though. 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. --001a114106b0c2940305354266b1--