rfc:php_namespace_policy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:php_namespace_policy [2020/07/16 20:59] – crell | rfc:php_namespace_policy [2020/07/26 16:05] – crell | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2020-04-15 | * Date: 2020-04-15 | ||
* Author: Mark Randall (marandall@php.net), | * Author: Mark Randall (marandall@php.net), | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 36: | Line 36: | ||
- The \Ext vendor namespace is reserved for use by classes provided by a PHP extension, either bundled with PHP or hosted with PECL. While userland code that makes use of that namespace will technically run, any impact on such code by future RFCs will not be considered a backward compatibility break. | - The \Ext vendor namespace is reserved for use by classes provided by a PHP extension, either bundled with PHP or hosted with PECL. While userland code that makes use of that namespace will technically run, any impact on such code by future RFCs will not be considered a backward compatibility break. | ||
- Any namespaced code provided by PHP-SRC will use a distinct component namespace. | - Any namespaced code provided by PHP-SRC will use a distinct component namespace. | ||
- | - Component namespaces should be singular. | ||
- Component or sub-component namespaces MUST use CamelCase naming conventions. | - Component or sub-component namespaces MUST use CamelCase naming conventions. | ||
- Only classes and other autoloadable symbols (as specified above) may be namespaced. | - Only classes and other autoloadable symbols (as specified above) may be namespaced. | ||
Line 92: | Line 91: | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
- | PHP 8.0 | + | PHP 8.0 (doesn' |
===== Vote ===== | ===== Vote ===== | ||
- | Yes / No | ||
- | " | + | Voting opened 2020-07-26 and closes 2020-08-09. |
+ | |||
+ | Yes / No vote, requiring 2/3 to pass. | ||
+ | |||
+ | " | ||
+ | |||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Prior Art ==== | ===== Prior Art ==== | ||
https:// | https:// | ||
rfc/php_namespace_policy.txt · Last modified: 2020/08/10 13:41 by crell