Re: [RFC] [VOTE] Arrays starting with a negative index
| From: | Christoph M. Becker | Date: | Wed, 07 Jun 2017 12:19:19 +0000 |
| Subject: | Re: [RFC] [VOTE] Arrays starting with a negative index | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99420@lists.php.net to get a copy of this message | ||
On 06.06.2017 at 19:55, Pedro Magalhães wrote:
> Hi all,
>
> I have just opened the vote on this RFC.
>
> The main goal of the RFC is to eliminate the inconsistency in arrays when
> negative numeric keys are used explicitly and the following implicit keys
> will start from zero.
>
> You can find the RFC here: Qе
> 5ù`‘#DǶADhttps://wiki.php.net/rfc/negative_array_index
> The previous discussion: https://externals.io/thread/712
> And the PR (also some discussion):
> https://github.com/php/php-src/pull/2383
>
> Voting is open from now until 20/6/2017 18:00 UTC.
I don't think that the current behavior makes much sense, but since it
is well documented and it isn't a bug, changing it in a minor version
wouldn't comply to our release process[1]. Therefore, I've voted
against, but I'd be happy to see this improvement in PHP 8.
[1] <https://wiki.php.net/rfc/releaseprocess#releases_cycle>
--
Christoph M. Becker