On 26/07/2020 17:24, Larry Garfield wrote:
The vote on the PHP namespace policy is now open: https://wiki.php.net/rfc/php_namespace_policy

Thanks to Larry for putting in a lot of effort with this RFC.

I would like to think this RFC provides a solution to a legitimate long-term problem.

1. It will allow the logical grouping of related classes and symbols within namespaces, as is considered best practice in userland. So far as naming goes, there is no reason to believe what is applicable to userland is not equally applicable to php-src and its extensions.

2. It will prevent us needing to "fake" namespaces by prefixing future symbols with Php or the extension name.

3. It provides for bundling and unbundling extensions without the need to change symbols.


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

Reply via email to