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/05/21 14:46] – Simpler introduction 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 | ||
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 (open issue: | + | PHP 8.0 |
===== Unaffected PHP Functionality ===== | ===== Unaffected PHP Functionality ===== | ||
Line 82: | Line 90: | ||
Furthermore, | Furthermore, | ||
- | ===== Proposed | + | ===== Voting Choices ===== |
This RFC requires a 2/3 majority. | This RFC requires a 2/3 majority. | ||
+ | |||
+ | < | ||
+ | < | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
+ | |||
+ | < | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
Line 91: | 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