[RFC] [Vote] PHP namespace policy

  111191
July 26, 2020 16:24 larry@garfieldtech.com ("Larry Garfield")
The vote on the PHP namespace policy is now open:

https://wiki.php.net/rfc/php_namespace_policy

Usual rules, 2/3 required for passage.  Vote will be open until 9 August.


-- 
  Larry Garfield
  larry@garfieldtech.com
  111194
July 26, 2020 16:48 marandall@php.net (Mark Randall)
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.