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 13:13] – BC breaks slow adoption thekidrfc:reserve_primitives [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 120: Line 120:
 ===== RFC Impact ===== ===== RFC Impact =====
 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 by reserving the word "string" (incomplete list):
 +
 +  * CakePHP - ''lib/Cake/Utility/String.php''
 +  * Joomla - ''src/Joomla/Filesystem/Stream/String.php''
 +  * ZF2 - ''library/Zend/XmlRpc/Value/String.php''
 +  * Drupal8 - ''core/lib/Drupal/Component/Utility/String.php''
 +  * XP Framework - ''src/main/php/lang/types/String.class.php''
 +
 +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.1423401203.txt.gz · Last modified: 2017/09/22 13:28 (external edit)