Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118013 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 15173 invoked from network); 20 Jun 2022 13:09:03 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 20 Jun 2022 13:09:03 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C182D180544 for ; Mon, 20 Jun 2022 07:58:04 -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_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-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (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 ; Mon, 20 Jun 2022 07:58:01 -0700 (PDT) Received: by mail-yb1-f181.google.com with SMTP id e4so6776397ybq.7 for ; Mon, 20 Jun 2022 07:58:01 -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 :cc; bh=NwSSiSvKccwapsSBdn3nQ+W4DiU6WhlHD0mV2Ha31bs=; b=Qhp9Icbvx9l6rIXzTNMzufhXRfwDRs4Ncw1lScVLfbYGtUJjd5SFodXoF6ftGSrTxn JHZoLN0UIIo6vayp0k2Dpi4WH5XmTfMGhkCHoBd2S5cj19VYcRdTr2lg4UrnOfzzZE5G IsFxW/MDKmXw3CwDaOJpLmWM5o6SurYHCGsgnXp++YCAYzosBPX1la+ZAr0qd5psgjdv HGo1AKA7Yrh9zJ6ONbIDkocqZVXv4APVg0pBkpy4mVuQAh0q8ZGJIxTxvh/6Pczhm8iW X1PeeBdE68djZIVpQKRRignFCWYqLXpg+QlIYNhoD164xaAgcZCT6lodh1Sgf0K2ZHYw DG3w== 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:cc; bh=NwSSiSvKccwapsSBdn3nQ+W4DiU6WhlHD0mV2Ha31bs=; b=nSlVI5motLoFtCaVTaRIjSY3cHdw8LFqV8Ov9Lxny1Kj7YUfNsUkHeBuzUpxezgMHY 58UO2cFWF4wTy6OyrnH6GwiwW2if91FKkXQkNs3d6Q7jgRd+fGx2DIA6VhNUIHG3NqWu E8qy88WHuhqdxDaQLoJDd8kAbi3fseIZGuNmrStoeQMacWlpQFjpYDoj1sF2GPbJcdyl qjqYOJRibeIFLlk0rMAKAtHpQhzoR7PkB07i1RHLh6IzXWh9nShT6IOQQoI0t4J69YkH UmWh1Xc6yF/6SPDvQYFujkzRlDDd2OtS12O6dEPqLZUU9Jv1ebLbC+ffUQs3UBd9wmPi r96w== X-Gm-Message-State: AJIora/rR65rV2COie6Emb2+Ij7qUHsaM+8b77XG4od7O3ytxgoGlNPN ZIgwZAwHLjQvUmn9CACH4IawohmcFumGzkKHBJI= X-Google-Smtp-Source: AGRyM1siceyPrReC+T6V8yWcP8a9pjSp8vjps30py/zH05AHewwup8EV/7KIaYnfiXxz9B3MWmcx55+c6l4fTnkINko= X-Received: by 2002:a05:6902:4:b0:668:de7c:183 with SMTP id l4-20020a056902000400b00668de7c0183mr11619334ybh.206.1655737080633; Mon, 20 Jun 2022 07:58:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 20 Jun 2022 16:57:49 +0200 Message-ID: To: Go Kudo Cc: PHP Internals List Content-Type: multipart/alternative; boundary="000000000000885e6005e1e254d8" Subject: Re: [PHP-DEV] [RFC] [Under Discussion] Random Extension Improvement From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --000000000000885e6005e1e254d8 Content-Type: text/plain; charset="UTF-8" > An RFC has been created to fix an issue in Random Extension 5.x. > > https://wiki.php.net/rfc/random_extension_improvement > > Voting on this RFC will begin in two weeks (2022-07-02), in time for the > PHP 8.2 Feature Freeze. (Vote finished in 2022-07-16, Feature Freeze is > 2022-07-19) > > In the unlikely event that the Random Extension 5.x RFC is rejected, this > RFC will become invalid regardless of the outcome of the vote. > Hi, thanks for the update, that makes sense to me. I'm wondering: does Random\SerializableEngine extend Random\Engine? Can this be mentioned in the RFC? If not, what about making it this way? Having this interface only contain __(un)serialize would look strange to me, aka too broad for the name and the purpose. I'm also wondering: is CombinedLCG worth it? I must admit I don't know when I should use it instead of MT19937. Since the names are all super opaque to many of us, documentation should be very clear about the use case of each implementation... (if can reduce the number of implementations, that's even better :) ) Cheers, Nicolas --000000000000885e6005e1e254d8--