rfc:namespaces-in-core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rfc:namespaces-in-core [2017/06/03 16:37] – created fleshgrinderrfc:namespaces-in-core [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2017-06-03   * Date: 2017-06-03
   * Author: Richard Fussenegger, php@fleshgrinder.com   * Author: Richard Fussenegger, php@fleshgrinder.com
-  * Status: Under Discussion+  * Status: Withdrawn
   * First Published at: http://wiki.php.net/rfc/namespaces-in-core   * First Published at: http://wiki.php.net/rfc/namespaces-in-core
  
Line 28: Line 28:
   * ''php\lang\parser\ast\CompilationUnit''   * ''php\lang\parser\ast\CompilationUnit''
   * ''PHP\Lang\Parser\AST\CompilationUnit''   * ''PHP\Lang\Parser\AST\CompilationUnit''
 +  * ''vendor\some_ext\sub_ns\ExtClass''
 +  * ''Vendor\SomeExt\SubNs\ExtClass''
  
 Another question in this regard is whether to allow plural forms (e.g. collection vs collections) in namespaces or not. Another question in this regard is whether to allow plural forms (e.g. collection vs collections) in namespaces or not.
Line 76: Line 78:
 │   ├── appveyor/... │   ├── appveyor/...
 │   ├── travis/... │   ├── travis/...
-│   ├── phpext +│   ├── php 
-│   ├── phpfmt +│   ├── php-cgi 
-│   ├── phpize +│   ├── php-dbg 
-│   ├── phptst+│   ├── php-ext 
 +│   ├── php-fmt 
 +│   ├── php-fpm 
 +│   ├── php-ize 
 +│   ├── php-pkg 
 +│   ├── php-tst
 │   └── ... │   └── ...
 ├── bld/ ├── bld/
Line 85: Line 92:
 │   │   ├── x64/... │   │   ├── x64/...
 │   │   └── x86/... │   │   └── x86/...
-│   └── release/+│   ├── debug-ts/ 
 +│   │   ├── x64/... 
 +│   │   └── x86/... 
 +│   ├── release/ 
 +│   │   ├── x64/... 
 +│   │   └── x86/... 
 +│   └── release-ts/
 │       ├── x64/... │       ├── x64/...
 │       └── x86/... │       └── x86/...
 ├── doc/ ├── doc/
 │   ├── building/ │   ├── building/
-│   │   ├── supported-platforms.md +│   │   ├── supported-platforms.ad 
-│   │   ├── unix.md +│   │   ├── unix.ad 
-│   │   ├── windows.md+│   │   ├── windows.ad
 │   │   └── ... │   │   └── ...
 │   ├── guidelines/ │   ├── guidelines/
-│   │   ├── coding-standard-c.md +│   │   ├── coding-standard-c.ad 
-│   │   ├── coding-standard-php.md +│   │   ├── coding-standard-php.ad 
-│   │   ├── git-rules.md +│   │   ├── git-rules.ad 
-│   │   ├── mailing-list-rules.md+│   │   ├── mailing-list-rules.ad
 │   │   └── ... │   │   └── ...
 │   ├── stubs/... │   ├── stubs/...
Line 130: Line 143:
 ├── tst/... ├── tst/...
 ├── var/... ├── var/...
-├── README.md+├── README.ad
 └── ... └── ...
 </code> </code>
Line 145: Line 158:
   - Use namespace for tiny self-encapsulated things (in the future)? Yes/No   - Use namespace for tiny self-encapsulated things (in the future)? Yes/No
   - Name of that namespace? ''std''/''util''   - Name of that namespace? ''std''/''util''
 +
 +===== References =====
 +  * [[http://news.php.net/php.internals/99346|Internals Discussion]]
  
rfc/namespaces-in-core.1496507847.txt.gz · Last modified: 2017/09/22 13:28 (external edit)