Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114446 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 50918 invoked from network); 12 May 2021 14:50:54 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 May 2021 14:50:54 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3BD641804B1 for ; Wed, 12 May 2021 07:58:56 -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-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 ; Wed, 12 May 2021 07:58:55 -0700 (PDT) Received: by mail-lf1-f49.google.com with SMTP id j10so34130852lfb.12 for ; Wed, 12 May 2021 07:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IZzQJXFrzOio+FcTVfNjEY3h4fGI3zYGpyddzZBVu/E=; b=gsCLNsloQtrV2Zem8f814bGgeOUZ2pfW5HGlJNPYi3dKP5tpGoW0VJV2NWNBxajQsK /SQKplO28h4LPnKecjCscLhRSdJdc2ywzD4zw/smfmM5isijUxh1ulLn4wqvVpaJZdTJ VEx7TDtGYTNjIr2Gc1nOjtJtf//i2SSKEuKxS66LJpB084eo2HI4qXpyk7sof+RbvhwT 9JXcMi4HxJ9FNyohIYGx6zHq2SdnoWe5XK+fTNgW+IKDGWbZiQOE6402ZAhE7jWv9LHF b4w/vpsiwhErbs+mqq9t2oKCg8i0CrMEKS9aAhfZkPBs0a3KLl+KLXkfBJhnx44AXWUX fTng== 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:cc; bh=IZzQJXFrzOio+FcTVfNjEY3h4fGI3zYGpyddzZBVu/E=; b=fAE4soHkrhHqc1oTyM7eB97kUzu/GnQL8w69Xxy2Nb9LnUnKQzUOjvMiq25uBASna1 Kec45hrTNrvhtjxr4gAel/nAXLEHIx7r0H0KbMmj/Q62qwA63uiGJgVvm84qmcYITv6v lq7FTc956LSYO9buClvB+0Tio5O6vNRO75SCfVip6XD8Zs2pcQu0rorNYYF/Z7vuQ66M qGotGbq7BGRhrLM1lId3UtHj8hQmbIpo2WsRbIAFtoG0s4kmGlHzBkBsDutYbW4dsfnX Vu/fvksKzdctFwVyEhLpAhx2coJN7o/cdefVy5gY3Zs7QwF4REh4Cv5BHtpYrujkrNJ4 XIFA== X-Gm-Message-State: AOAM5302NhTNs/qHm8G2MXQG7MXumQgwqxh/naU5iwYK0jThLtFyDRws UES8xI/F4tceHax2g8n2KpPQPErKfESYQt4MTds= X-Google-Smtp-Source: ABdhPJw3fDJuffVn9HcAgRNyJKw1H2THgrlm5UkdSvwVpjWAsxw9Fu7GgHA0vqiX2G1/Z2mz6lFBGIoHKA47hORof1U= X-Received: by 2002:a05:6512:acd:: with SMTP id n13mr17011593lfu.485.1620831533501; Wed, 12 May 2021 07:58:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 12 May 2021 16:58:37 +0200 Message-ID: To: Levi Morrison Cc: Go Kudo , PHP internals Content-Type: multipart/alternative; boundary="000000000000cb8e5805c2233f4e" Subject: Re: [PHP-DEV] Discussion: Object-scoped RNG From: nikita.ppv@gmail.com (Nikita Popov) --000000000000cb8e5805c2233f4e Content-Type: text/plain; charset="UTF-8" On Wed, May 12, 2021 at 4:51 PM Levi Morrison via internals < internals@lists.php.net> wrote: > > Also, I am happy to see that Nikita's rules for namespace assignment to > extensions have been approved. I'm going to use the `RNG` namespace. > > Just to be clear, you can only use `RNG` as a namespace if the > extension is named `ext/rng`. You cannot add namespaced things to > `standard` nor `SPL` nor `Core`. > This is not correct. The namespace policy RFC specifically and explicitly allows namespacing of components in standard/core, see https://wiki.php.net/rfc/namespaces_in_bundled_extensions#core_standard_spl. Adding something under the RNG\ namespace inside ext/standard is fine (modulo due diligence on the specific choice of namespace name). Regards, Nikita --000000000000cb8e5805c2233f4e--