rfc:normalize_inc_dec

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:normalize_inc_dec [2014/09/21 06:42] datibbawrfc:normalize_inc_dec [2018/06/18 10:17] (current) – This RFC appears to be inactive cmb
Line 4: Line 4:
   * Date: 2013-12-19   * Date: 2013-12-19
   * Author: Tjerk Meesters (datibbaw)   * Author: Tjerk Meesters (datibbaw)
-  * Status: Under Discussion+  * Status: Inactive
   * First Published at: https://wiki.php.net/rfc/normalize_inc_dec   * First Published at: https://wiki.php.net/rfc/normalize_inc_dec
  
Line 32: Line 32:
  
 The proposal is: The proposal is:
-1. always treat boolean and null types as an integer, but raise a warning. +  - always treat boolean and null types as an integer, but raise a warning. 
-2. deprecate alphanumeric increment and introduce <code>str_inc()</code> and <code>str_dec()</code>.+  deprecate alphanumeric increment and introduce ''str_inc()'' and ''str_dec()''.
  
 ==== Operation on bool / null ==== ==== Operation on bool / null ====
Line 67: Line 67:
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
  
-Incrementing <code>null</code> will now raise a warning; incrementing alphanumeric strings will raise a deprecation notice.+Incrementing ''null'' will now raise a warning; incrementing alphanumeric strings will raise a deprecation notice.
  
 ===== Proposed PHP Version(s) ===== ===== Proposed PHP Version(s) =====
rfc/normalize_inc_dec.1411281724.txt.gz · Last modified: 2017/09/22 13:28 (external edit)