Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117026 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 67990 invoked from network); 14 Feb 2022 09:54:05 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 Feb 2022 09:54:05 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8C7DB18053E for ; Mon, 14 Feb 2022 03:11:32 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,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 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-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) (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 ; Mon, 14 Feb 2022 03:11:32 -0800 (PST) Received: by mail-yb1-f175.google.com with SMTP id o19so44749299ybc.12 for ; Mon, 14 Feb 2022 03:11:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=colopl.co.jp; s=google; h=mime-version:from:date:message-id:subject:to; bh=wJ84bfbrpRJ4N536cV8OHpcTkOJNEqy/n5v/tu21reQ=; b=gXrnWl78264auHz3Kr94v/QkZTDXLGr1h1YrkJjQjqtmTC1i9PK35cEFo3oofG7Mpc 7owZtHRyghVS+D6oT7LVjzaw2JsttiHHkuJPO14vTnZwmUOBlaBImMhlQlve1mq8k9v2 twCul8xjsu5A1bAze3Bp1qdmLq6gS+6Oz8EBttQAqebx3GurWAeZDDK4MpShOn8uuGXv eJrHwUQZELz/ZcmXDuIXwG7zWQJpHC2qMGlASSknmAWkYkut6Gkow9bFvu1UWQ8pf1ii ss7yDkr49kHyS5J3EVbKb/iqCW6aP7Bc+gAMVz1KUE6mxQSN5raLQXGJmuBsdB8crF/B tr5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wJ84bfbrpRJ4N536cV8OHpcTkOJNEqy/n5v/tu21reQ=; b=strlt1yXz+bm/eCri7n5x8uDspKyleGBNTUba17H0/2AdI69mHltesdwKB1Rk6nthm +bLxPRY/t0hl7qVmOb6LOhf+3Hs6AZ2o5+nZajf7SPR5DXA+QzEyzWeseAnDTT670EHl yKRWsbNsg1s/TFS7Z3MYguUkQKKXC1+LFsDGEjH4DBhLuK8SpzOkAqX8wAEFwywOAl6Q FmGfu7bxw0G31AjhkOLbCPES9qBMd0DV3Cj8kW3VIL//YZO4es998qCMWzP/Fh9n/cuT vnvCuyocfb9Mu3brQ+Z/jfe6lYB+bMZbgMztmDMsmDH8x+d3gOSsLpEBKX2ZNiA0h1TU n/Yg== X-Gm-Message-State: AOAM5301UmaFDXuG8afLrdeIri1MorjwSN6o16KC7HJu3iaDoZIqpkQx p+Bj67Pkaz2xqyVc9lc1cTEWVElZ1tQhDnxEaV9liPVqMPj7 X-Google-Smtp-Source: ABdhPJwNJYUSYZfYRDYoXFFJrIgwbJ6wGqUxi4D0GeGZ1GOQUqUhxDQM7zL45w6gprg5VFdTFhpHUhg2md86rIQYb6s= X-Received: by 2002:a81:bd12:: with SMTP id b18mr13453331ywi.136.1644837091866; Mon, 14 Feb 2022 03:11:31 -0800 (PST) MIME-Version: 1.0 Date: Mon, 14 Feb 2022 20:11:21 +0900 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000930f7105d7f87a13" Subject: [RFC] [Under Discussion] Random Extension 4.0 From: g-kudo@colopl.co.jp (Go Kudo) --000000000000930f7105d7f87a13 Content-Type: text/plain; charset="UTF-8" It's been a while Internals. I'm Go Kudo. First of all, I would like to apologize for leaving my previous RFC, object scoped RNG, and the preliminary RFC, split random extension, without any progress. The implementation of these RFCs was not sophisticated and failed to be tested for a long time. In particular, we could not find the time to work on them on Windows, and they were abandoned. You may have noticed that my email address has changed. This is because I have been assigned to work on this RFC and implementation as part of my company. This has given me the equipment and time to debug in a variety of environments. Some people may have a negative impression about this change, but don't worry. The RFC is still in the form of a feature proposal, and all rights are reserved by the PHP Group. Before we get into the RFC, let me explain again how this RFC came to be proposed. First, I started to implement an object-level scoped RNG in PHP to solve the current issue. This is still available in PECL today. https://pecl.php.net/package/orng https://github.com/zeriyoshi/php-ext-orng Later, I found in the PHP Internals ML logs that an implementation of RNG with object-level scoping had been considered before, and was well received at the time. However, it seems that the actual implementation was not done at that time. https://externals.io/message/98021#98130 After that, I started the first RFC and Vote. The result was a Decline, but that was mainly due in part to the strange APIs. https://wiki.php.net/rfc/object_scope_prng The refreshed RFC and implementation are available at the following URL: https://wiki.php.net/rfc/rng_extension https://github.com/php/php-src/pull/8094 If there are no specific comments, I would like to start voting as soon as the two-week pre-announcement phase is over. Regards. Go Kudo --000000000000930f7105d7f87a13--