Hi

On 5/18/23 18:13, tag Knife wrote:
An extension of this, Looking on packagist. The namespace PHP is reserved,
in collaboration with PHP, Composer and Packagist. Official PHP packages
can use the /PHP/... root namespace.
And can be published on packagist under the PHP namespace

To my understanding in the https://wiki.php.net/rfc/namespaces_in_bundled_extensions RFC it was agreed *not* to use the PHP namespace and instead create appropriate top-level namespaces.

The new random implementation in PHP 8.2 is already "relying" on that RFC: Everything is sitting in Random\* and that namespace is now effectively reserved for it.

There was also this proposal (that did not yet go anywhere) to introduce the iterable\* top-level namespace: https://externals.io/message/118896#118896

Best regards
Tim Düsterhus

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to