rfc:negative_array_index

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rfc:negative_array_index [2018/02/12 18:55]
pmmaga
rfc:negative_array_index [2018/03/16 17:45] (current)
pmmaga Closed vote
Line 3: Line 3:
   * Date: 2017-04-20   * Date: 2017-04-20
   * Author: Pedro Magalhães, pmmaga@php.net   * Author: Pedro Magalhães, pmmaga@php.net
-  * Status: ​Under Discussion+  * Status: ​Accepted
   * First Published at: http://​wiki.php.net/​rfc/​negative_array_index   * First Published at: http://​wiki.php.net/​rfc/​negative_array_index
  
Line 78: Line 78:
  
 if ($a[1] === true) { if ($a[1] === true) {
-    echo '​Accessing key 1 explicitly.';+    echo '​Accessing key 1 explicitly';​
 } }
 </​code>​ </​code>​
  
-Will no longer ​produce any output.+Will no longer output ​''​Accessing key 1 explicitly''​. 
 + 
 +<​blockquote>​ 
 +NOTE: If accepted, during the deprecation phase the ''​E_DEPRECATED''​ notice mentioned in the previous section would be emitted. 
 +</​blockquote>​
  
 ===== Proposed PHP Version(s) ===== ===== Proposed PHP Version(s) =====
Line 94: Line 98:
  
 ===== Voting Choices ===== ===== Voting Choices =====
-This RFC requires ​a 2/3 majority.+Both votes require ​a 2/3 majority.
  
 <doodle title="​Arrays starting with a negative index for 8.0" auth="​pmmaga"​ voteType="​single"​ closed="​true">​ <doodle title="​Arrays starting with a negative index for 8.0" auth="​pmmaga"​ voteType="​single"​ closed="​true">​
Line 116: Line 120:
  
 ===== References ===== ===== References =====
 +Version 0.3:
 +
 Discussion on the mailing list: https://​externals.io/​message/​98302 Discussion on the mailing list: https://​externals.io/​message/​98302
  
Line 122: Line 128:
 Second proposal Voting period discussion: https://​externals.io/​message/​99511 Second proposal Voting period discussion: https://​externals.io/​message/​99511
  
 +----
 +Version 0.4:
 +
 +Discussion on the mailing list: https://​externals.io/​message/​101861
rfc/negative_array_index.1518461751.txt.gz · Last modified: 2018/02/12 18:55 by pmmaga