Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114514 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 10729 invoked from network); 18 May 2021 16:09:53 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 May 2021 16:09:53 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 22C331804CC for ; Tue, 18 May 2021 09:19:27 -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 autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (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 ; Tue, 18 May 2021 09:19:26 -0700 (PDT) Received: by mail-ej1-f44.google.com with SMTP id b25so15505659eju.5 for ; Tue, 18 May 2021 09:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=5lU0QcRsiQgnBIPdIRGR1CkWtRbArBwPRC0fnPFISLQ=; b=lN8lX/5aLx3MDay5S3KWjN7nbYf7zblKX2liPqOhgq2vYS1Xta41AUMCU8nf3+30pV xtA0Bv0OhEtMfVcSPinB3sdBBNEqB9xkB1Oyjc1/dpl5ViXvKtTfpo+1Mbf+15x5tS3A VXOJT1tULGYm3WVPjc3ofw+aPcuyeueVamUb607G6EX0/uqsP6elDJf8RxjTjt9aXyMa KAlv6sYxwVx5QPebx+aGIjTT9L4RCp8CTb+HnfqwLRu9CCSf1izXZ5lUCN/k571I5LQM WEG7CbZsWRYHF5c0iA++L/VYvSxvuThkjuTfo1HPe3s8OTajDs8f3aibnt6OHTuuudWB gb9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5lU0QcRsiQgnBIPdIRGR1CkWtRbArBwPRC0fnPFISLQ=; b=he99TJHGsY4g3BsVY4K8aroZg9EP5yPAQYPOFLrBT8v3YdbXdRkyvrzqmu1yBIm8nK UZ6yR3Eiim8Bvei1ui/iRIycZHd5jDf7bjX9UdJ5Ci8nbuP42xdiv4eelcPg+cvx5Mht TV+72CMQqT61Vte9iplqo12XeWHjm/krey6aiYqKDXWZ/zca2wO4EnE0B0yw3hb/XdhH 2GDOF9Wc6N9OEvlYl9nnyG1Sdp7Vqoie2U4UL+csK45BRLvEK//dUYD1t0LP8HdUzTVz xRsHj2jAwPObr3sBnxO0pXV2caTkgisi9BQgqcN5zb9z4EqbFV9xHXXW9KwZtdg5iTnK oKHg== X-Gm-Message-State: AOAM533xQzYgboxT3Qq/K+pnxh+UwPG7v5Ciaww15/Hn/oEnNxqYal+X b6Ms/XLvBn1wO6GQWj4GoL4dM4+w10YAtqPVq4bwdqNrP/Q= X-Google-Smtp-Source: ABdhPJzlffIgo0vfcuAgeS5w6lk4NUOU0wn5LnJm22xgQMFRH57RHWA+LAgVFFO4UNpTFc1ynYyFkthOwyD6h5s6j9Q= X-Received: by 2002:a17:907:d14:: with SMTP id gn20mr6512097ejc.486.1621354765038; Tue, 18 May 2021 09:19:25 -0700 (PDT) MIME-Version: 1.0 Date: Wed, 19 May 2021 01:19:14 +0900 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000d33b5605c29d12ab" Subject: [RFC] [Draft] Add RNG extension and deprecate mt_srand() From: zeriyoshi@gmail.com (Go Kudo) --000000000000d33b5605c29d12ab Content-Type: text/plain; charset="UTF-8" Hello internals. I have created a draft of the RFC. https://wiki.php.net/rfc/rng_extension This RFC is a proposal to implement the old object scope RNG in PHP. You can read about the discussion so far below. - https://externals.io/message/114378 - https://externals.io/message/112819 I believe that the problem with the previous RFC was that it was just an ugly API. I propose to sort this out and deprecate the existing functions that should be replaced. I would like to ask for feedback on this draft RFC. Regards, Go kudo --000000000000d33b5605c29d12ab--