Re: [RFC] [VOTE] Arrays starting with a negative index

From: Date: Wed, 07 Jun 2017 12:12:17 +0000
Subject: Re: [RFC] [VOTE] Arrays starting with a negative index
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-99419@lists.php.net to get a copy of this message
Hi, The same for me. Strange to see 7 people willing to introduce such a BC break in a minor version, or did I miss something ? Anyway, +1 to introduce the change in PHP 8. Cheers, François Le 07/06/2017 à 13:31, Derick Rethans a écrit :
On Tue, 6 Jun 2017, 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: https://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
I voted no because of the BC break. cheers, Derick


« previous php.internals (#99419) next »