Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115952 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 65609 invoked from network); 5 Sep 2021 03:23:25 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Sep 2021 03:23:25 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 38BC91804E3 for ; Sat, 4 Sep 2021 21:00:17 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 4 Sep 2021 21:00:16 -0700 (PDT) Received: by mail-ej1-f46.google.com with SMTP id lc21so6318704ejc.7 for ; Sat, 04 Sep 2021 21:00:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=IAQBUzCqIOAkXu6SMKPBGmhxv7plR8MU+6/Ab793Zac=; b=QnuF4jc+IVQf527xMRlxv5YEFBqL5f7xV2smsK7lizEtewz51bhVY1AcUHn5yLu4HD zUgqKaR4gG7IUv33eVW4txKatA8RYqaaM5xxHJ6qO2XXvLHOg6AVaOH0oBonYonEHJv8 KZ0CyG9+js/kGEzIsphScWqvi+xo/PGtFXra29sqqAdcjTQykxiok1EXGDd/bBsgusNh hj5bbM7yZHRE5f1FBQruF0Da+CLfiUs0BMC+JFOGm8UIxcHiEbut0TiHr5vPky9HL4VP PiWccVxMcXom+wGJkwQ/UEr6sGdclfy7bl099CFdBeyyPUhrYJHWeolYuz45udOyaKoE 6atQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=IAQBUzCqIOAkXu6SMKPBGmhxv7plR8MU+6/Ab793Zac=; b=T8uh1bP3G0JMua1V0LCDb2FtnS3hU3QqwbTG+thwquwIqzxzTWF9xqpofT06F+xKye jkABZXnKqZ9E7uk+0/cRxuVn7yXFnlfrKGCfbPoOb8QMWyvwMaVHtMBMLO5HUJW4ViLy 143SFTWYmgbql6C6XcEHfqiAE56S0sprcKLa1GJM9EAzYuG4cZjrmtKatQjwOBJCeBOD ErzX6628VPXoPFCYwsF3m3pkyZM4U42rP4c52aX9bhjCTWPNBQLcageOX6jiKxV4C32j GyDZJUbCTIk6StH1vsLURC/Y07qnCsVYrgM1f6x2hH4HaGbMzewaK76GR6WrJ40+MGII zhrA== X-Gm-Message-State: AOAM530roqKJ6LIYSbhOEb0MvrqfwpdgML9DiOrmu7xuo1IPP50uOI0k 5RFoccheg8p9hOvt1BzyDjPmpZ/i8EnrNVwPWKPgRedHA4yTDQ== X-Google-Smtp-Source: ABdhPJxLFIMY2z67M0iTVRU/98noLxigHJ0eSzRU71y/Qjbnlaylm7iR91XAx5HsBP5qiOFlADD0Zok+njAcr28ET5w= X-Received: by 2002:a17:906:9747:: with SMTP id o7mr7059173ejy.486.1630814415463; Sat, 04 Sep 2021 21:00:15 -0700 (PDT) MIME-Version: 1.0 References: <61339ad1.1c69fb81.b518e.8644SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <61339ad1.1c69fb81.b518e.8644SMTPIN_ADDED_MISSING@mx.google.com> Date: Sun, 5 Sep 2021 13:00:04 +0900 Message-ID: To: Ben Ramsey , PHP internals Content-Type: multipart/alternative; boundary="000000000000eda8bb05cb37917b" Subject: Re: [PHP-DEV] Re: [RFC] Random Extension 3.0 From: zeriyoshi@gmail.com (Go Kudo) --000000000000eda8bb05cb37917b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Indeed, it may be true that these suggestions should not be made all at once. If necessary, I would like to propose to organize the RNG implementation first. Do we still need an RFC in this case? I'm not sure I'm not fully understand the criteria for an RFC. Does this internal API change count as a BC Break that requires an RFC? > Personally, I don't see the benefit of including this OOP API in the core= . On the other hand, can you tell me why you thought it was unnecessary? Was my example unrealistic? I'm sorry if my English is not good and my writing seems offensive. I have no intention to do so. Regards, Go Kudo 2021=E5=B9=B49=E6=9C=885=E6=97=A5(=E6=97=A5) 1:12 Ben Ramsey : > Go Kudo wrote on 9/2/21 10:10: > > Hi Internals. > > > > Expanded from the previous RFC and changed it to an RFC that organizes > the > > whole PHP random number generator. Also, the target version has been > > changed to 8.2. > > > > https://wiki.php.net/rfc/rng_extension > > https://github.com/php/php-src/pull/7453 > > > > Hopefully you will get some good responses. > > > > Regards, > > Go Kudo > > > > > This proposal seems like two different proposals to me: > > - The first consolidates and cleans up RNG functions for internals > - The second exposes an OOP API for working with RNGs > > Personally, I don't see the benefit of including this OOP API in the > core. I don't think it provides any benefits over similar abstractions > in userland, and in fact, I think this kind of API is best suited for > iteration in userland. > > Cheers, > Ben > > --000000000000eda8bb05cb37917b--