rfc:reserve_primitives

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:reserve_primitives [2015/02/08 17:05] thekidrfc:reserve_primitives [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 121: Line 121:
 In all situations except the last two options, reserving primitive type names causes a BC break. The options above sketch out how we can cope with this, balancing the usefulness of being able to use these tokens and backwards compatibility on the other side. In all situations except the last two options, reserving primitive type names causes a BC break. The options above sketch out how we can cope with this, balancing the usefulness of being able to use these tokens and backwards compatibility on the other side.
  
-These frameworks would be affected (incomplete list):+These frameworks would be affected by reserving the word "string" (incomplete list):
  
   * CakePHP - ''lib/Cake/Utility/String.php''   * CakePHP - ''lib/Cake/Utility/String.php''
Line 127: Line 127:
   * ZF2 - ''library/Zend/XmlRpc/Value/String.php''   * ZF2 - ''library/Zend/XmlRpc/Value/String.php''
   * Drupal8 - ''core/lib/Drupal/Component/Utility/String.php''   * Drupal8 - ''core/lib/Drupal/Component/Utility/String.php''
-  * XP Frameworrk - ''src/main/php/lang/types/String.class.php''+  * XP Framework - ''src/main/php/lang/types/String.class.php''
  
-This [[https://searchcode.com/?q=class+String&lan=24|code search]] suggests various more libraries will be affected.+This [[https://searchcode.com/?q=class+String&lan=24|code search for a PHP String class]] suggests various more libraries will be affected. Same goes for "Boolean", "Integer", "Int", "Float" and "Double"
  
 ===== Future Scope ===== ===== Future Scope =====
rfc/reserve_primitives.1423415134.txt.gz · Last modified: 2017/09/22 13:28 (external edit)