[RFC] [Discussion] Arrays starting with a negative index

From: Date: Sun, 21 May 2017 15:29:32 +0000
Subject: [RFC] [Discussion] Arrays starting with a negative index
Groups: php.internals 
Request: Send a blank email to internals+get-99125@lists.php.net to get a copy of this message
Hi all, I have previously discussed this topic here and I have now created an 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 also have left the target version as an open issue in case most people would prefer not to do it in a "minor" version. Regards, Pedro Magalhães

« previous php.internals (#99125) next »