Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117975 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 13219 invoked from network); 17 Jun 2022 10:49:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Jun 2022 10:49:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A603B1804BD for ; Fri, 17 Jun 2022 05:37:58 -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,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 17 Jun 2022 05:37:57 -0700 (PDT) Received: by mail-yb1-f169.google.com with SMTP id 23so7055230ybe.8 for ; Fri, 17 Jun 2022 05:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=colopl.co.jp; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=8Cc1nCBUXnyolJiBG2HIH8iNqjsIfLwKo/cu+IqXEbQ=; b=MF7mSC3upQrUiDstGrZSzQcP8xNTIO7KtgsBdlbfTnk6v/1fUv9DmrpMOpDFOIvEza dqEnJI9GMufiXQ43xqGX6NSasU+F5LcDKmJfKppkAKqMKV232Lmfp/EP9II2weohs1iG ayw8ZgTozW5iEody3hj+oZvk9CtU8rBEYNom5zTwQASQarTugio5K3JxOc1GQUY4dvU8 zonnQ8lgS3zA4xySwir3Nti2+/6673UqVAVArXRjn8dXQz67w/F7Zk8q7iJu8TMBPfpc MH1r4Ugt0Oru4STR9y6kyDzp1pPS4s+SDylD7qog3wTOeRsInPcUpOZLhGgIqIAWsPPg M8Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=8Cc1nCBUXnyolJiBG2HIH8iNqjsIfLwKo/cu+IqXEbQ=; b=UNB8L23sVLgBJz1nujxRu3tBS325xijeqyfzwxCUSCM6NJtAGvyFlmChi+SjvUnen6 ZEG2KcEcznyANwdJ2bS3E0yaeUSquk3CFACgIN+XupLT5Q2ERM4XVPulT+wZVdZa4Oro DfjVI7xKVrxQztZUaw1XImqqRThb2TOQO7XNgTdi8XgsZ2KzFPLr3ITv14rHiuGVLS0F bLpN0uN6Kk3XEcK/TYjA7rQRJDcztft1GypMJEV0kDWhjl7krpk6MpNQ6XycEGly1KNI sdjeAO1qzevJZ4Fg3BmGCHtZdcPR9417V3s3uHy6V5F1/RH7F6PwF5I0jxSOshUhidCS iIvw== X-Gm-Message-State: AJIora8hESX3ykrX/kj31IAYCFCDI/KSQNMualFJP3P1qT3CvWUTDtoJ b4pAxVPGy/vai5KDQ7FLBo6lhxTw4SaUcpBexglE X-Google-Smtp-Source: AGRyM1vGq+uZhYfDNCSVcvVAxtRZkwEuD7HhsaOQanPNLzrspjQ0J4I54qWEoS6W0iX9YjBldEOwtPt2bncr9CSItlg= X-Received: by 2002:a25:77d8:0:b0:663:5e85:a632 with SMTP id s207-20020a2577d8000000b006635e85a632mr11125707ybc.375.1655469477077; Fri, 17 Jun 2022 05:37:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 17 Jun 2022 21:37:46 +0900 Message-ID: To: Guilliam Xavier , internals@lists.php.net Content-Type: multipart/alternative; boundary="0000000000001e3fdf05e1a40684" Subject: Re: [PHP-DEV] Re: [RFC] [VOTE] Random Extension 5.x From: g-kudo@colopl.co.jp (Go Kudo) --0000000000001e3fdf05e1a40684 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2022=E5=B9=B46=E6=9C=8816=E6=97=A5(=E6=9C=A8) 19:56 Guilliam Xavier : > Hi, > > > https://wiki.php.net/rfc/random_extension_improvement > > Thanks; some editorial remarks: > > - I think "Engine is not final" should rather be "Engine > implementations are not final", and similarly in the text: "Even if > the native class is made final" to "Even if the native classes are > made final", "and the native implementation of the class should be > marked as final" to "and the native implementations of the interface > should be marked as final" > - The sentence "The engine already provides an interface with only a > generate(): string method called Random\Engine." sounds weird, maybe > rather "The extension already provides a Random\Engine interface with > a single generate(): string method."? > - "Proposal" is a subsection inside "Introduction", it should rather > be a root section (at the same level as "Backward Incompatible > Changes") > - What would be the signature of Randomizer::pickKey()? (whatever > the naming, important is parameters and return types) -- I guess the > same as existing array_rand(), but better be explicit > > Regards, > > -- > Guilliam Xavier > Hi Xavier. Thanks very much for the detailed point of view. I am very ashamed of my poor English. Maximum thanks! I have corrected all the points you pointed out. Regards Go Kudo --0000000000001e3fdf05e1a40684--