Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75647 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30665 invoked from network); 17 Jul 2014 06:52:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2014 06:52:33 -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.192.54 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.54 mail-qg0-f54.google.com Received: from [209.85.192.54] ([209.85.192.54:60846] helo=mail-qg0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/44-09067-FA277C35 for ; Thu, 17 Jul 2014 02:52:31 -0400 Received: by mail-qg0-f54.google.com with SMTP id z60so1638537qgd.41 for ; Wed, 16 Jul 2014 23:52:28 -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:content-type; bh=2NVSoWHtceKMyMSDYkz83ATYzOUywfIfVBiSdFHu5yA=; b=T4X178sbS8w5h/pvU696QncJYB9EIBCCUfFY7m8amkda5cqwb1uahv28h1vbrFyjLu TDreHhJfvr3MjJEjcAHGyOKdT4uTv+GzNmqqtXDeUrXEPf20fbafMf5F0M2J3OXCMAe8 9jX/Bxq55CKJfSsqsnlcdQ/9QRfjy+n6A0z9+TotnA9c4aVYJhgJVKgjE9NgrqYcaJT9 701HpYAa7MOZ2cljQjAir9qDoghsd/BlI2/yWlbZTjOUWHgoqo5/pHP67hOfSRS5/rFf uqXpwNpULXv67aHp6rv4qlIzNfbItvjh0pclQM53EFcN/Ed92S0ih+MiCv5uudBiuprh rnQw== MIME-Version: 1.0 X-Received: by 10.224.137.193 with SMTP id x1mr56188042qat.0.1405579948658; Wed, 16 Jul 2014 23:52:28 -0700 (PDT) Received: by 10.140.28.183 with HTTP; Wed, 16 Jul 2014 23:52:28 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Jul 2014 08:52:28 +0200 Message-ID: To: Yasuo Ohgaki Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: Use of php_mt_rand() rather than php_rand() From: pierre.php@gmail.com (Pierre Joye) On Thu, Jul 17, 2014 at 1:02 AM, Yasuo Ohgaki wrote: > RFC for this is created. > > https://wiki.php.net/rfc/use-php_mt_rand > > New rand() function name is TBD. I cannot think of good name, but > I like rand_system(). rand() may stay as it is now also. I have mixed feelings about that. What did change since our last discussions? What are the benefits to do it now? Also I really do no think it is worse the effort and the addition to do it in 5.x. Yes, there are still apps out there relying on rand only for areas where it should not be used, but how is it our problem? I mean: the documentation is clear, have been updated and clarified many times. I'd rather focus on doing one set of APIs for RNG for php6 and leave that untouch for now. Cheers, -- Pierre @pierrejoye | http://www.libgd.org