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

Reply via email to