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

From: Date: Wed, 07 Jun 2017 12:41:13 +0000
Subject: Re: Re: [RFC] [VOTE] Arrays starting with a negative index
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-99423@lists.php.net to get a copy of this message
Hi, Right. Introducing this change is not compatible with the release process, whatever the result of the vote. So, I respectfully ask you to change target to PHP 8 or explain why we should make an exception to the process. Reasons you gave so far are OK for a major version, but not for a minor one. This is not against you or your work, as I'd also like to change such inconsistent behavior, but the probability of BC break is too high, IMO. Regards François Le 07/06/2017 à 14:19, Christoph M. Becker a écrit :
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: 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 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>


« previous php.internals (#99423) next »