rfc:negative_array_index
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:negative_array_index [2017/06/06 17:49] – Started voting phase pmmaga | rfc:negative_array_index [2017/06/14 17:58] – pmmaga | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Arrays starting with a negative index ====== | ====== PHP RFC: Arrays starting with a negative index ====== | ||
- | * Version: 0.2 | + | * Version: 0.3 |
* Date: 2017-04-20 | * Date: 2017-04-20 | ||
* Author: Pedro Magalhães, mail at pmmaga dot net | * Author: Pedro Magalhães, mail at pmmaga dot net | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 43: | Line 43: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | NOTE: During the deprecation phase the following '' | ||
+ | |||
+ | < | ||
+ | Deprecated: In the next major version of PHP the implicit keys of this array will start from -1 instead of 0 in ... | ||
+ | </ | ||
+ | </ | ||
With the implementation of this RFC, they will all result in: | With the implementation of this RFC, they will all result in: | ||
Line 75: | Line 83: | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
- | PHP 7.2 | + | PHP 8.0 |
===== Unaffected PHP Functionality ===== | ===== Unaffected PHP Functionality ===== | ||
Line 85: | Line 93: | ||
This RFC requires a 2/3 majority. | This RFC requires a 2/3 majority. | ||
- | Voting opened on 6/ | + | <del>Voting opened on 13/ |
+ | < | ||
- | <doodle title=" | + | <doodle title=" |
* Yes | * Yes | ||
* No | * No | ||
</ | </ | ||
+ | |||
+ | < | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
Line 98: | Line 109: | ||
===== References ===== | ===== References ===== | ||
- | Discussion on the mailing list: | + | Discussion on the mailing list: https:// |
+ | |||
+ | First proposal Voting period discussion: https:// | ||
rfc/negative_array_index.txt · Last modified: 2020/08/01 23:40 by carusogabriel