rfc:namespaceseparator

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:namespaceseparator [2008/10/25 23:28] lsmithrfc:namespaceseparator [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2008-10-25   * Date: 2008-10-25
   * Author: Lukas Smith <smith@pooteeweet.org>   * Author: Lukas Smith <smith@pooteeweet.org>
-  * Status: Accepted+  * Status: Implemented in PHP 5.3 (with ''\'' separator)
   * First Published at: http://wiki.php.net/rfc/namespaceseparator   * First Published at: http://wiki.php.net/rfc/namespaceseparator
  
Line 22: Line 22:
  
 (5) number of chars (5) number of chars
- 
 ==== Rating ==== ==== Rating ====
  
Line 29: Line 28:
   - -1 means the criteria is severely affected by the criteria   - -1 means the criteria is severely affected by the criteria
  
-^ critieria ^ <code>\</code> ^ <code>**</code> ^ <code>^^</code> ^ <code>%%</code> ^ <code>:> </code> ^ <code>:)</code> ^ <code>:::</code>+^ critieria          ^ <code>\</code> ^ <code>**</code> ^ <code>^^</code> ^ <code>%%</code> ^ <code>:> </code> ^ <code>:)</code> ^ <code>:::</code>
- (1)      |  +-0            +-0            |  -1              -1              +-0              +-0            |  +-0             | +type-ability       |  +-0            +-0            |  -1              -1              +-0              +-0            |  +-0             | 
- (2)      |  +1            |  -1              -1              -1              -1              |  -1              -1              | +typo-vulnerability |  +1            |  -1              -1              -1              -1              |  -1              -1              | 
- (3)       +-0            +-0            |  +-0            |  +-0            |  -1              |  -1              -1              | +parse-ability       +-0            +-0            |  +-0            |  +-0            |  -1              |  -1              -1              | 
-|  (4)      |  +1            |  +1              +1              +1              -1              |  -1              +1              | +IDE compatibility   +1            |  +1              +1              +1              -1              |  -1              +1              | 
- (5)      |  +1            |  -1              -1              -1              -1              |  -1              -1              |+number of chars    |  +1            |  -1              -1              -1              -1              |  -1              -1              | 
 + 
 +Please note that we did not weigh all criterions evenly. Also we only included choices that we still felt relevant. For example as you can see in the IRC logs at the bottom we had already ruled out "::".
  
 As such we have decided to go with <code>\</code> as the new namespace separator instead of the current <code>::</code> As such we have decided to go with <code>\</code> as the new namespace separator instead of the current <code>::</code>
 +
 ===== References ===== ===== References =====
  
rfc/namespaceseparator.1224977332.txt.gz · Last modified: 2017/09/22 13:28 (external edit)