Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99125 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57990 invoked from network); 21 May 2017 15:30:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 May 2017 15:30:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=mail@pmmaga.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mail@pmmaga.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain pmmaga.net designates 149.210.149.73 as permitted sender) X-PHP-List-Original-Sender: mail@pmmaga.net X-Host-Fingerprint: 149.210.149.73 outbound2.mail.transip.nl Received: from [149.210.149.73] ([149.210.149.73:49812] helo=outbound2.mail.transip.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/FF-23431-872B1295 for ; Sun, 21 May 2017 11:30:01 -0400 Received: from submission5.mail.transip.nl (submission5.mail.transip.nl [149.210.149.125]) by outbound2.mail.transip.nl (Postfix) with ESMTP id 3wW5M90CHKzYsxg for ; Sun, 21 May 2017 17:29:57 +0200 (CEST) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by submission5.mail.transip.nl (Postfix) with ESMTPA id 3wW5M71CSKz7t7t for ; Sun, 21 May 2017 17:29:52 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id d127so123248590wmf.0 for ; Sun, 21 May 2017 08:29:52 -0700 (PDT) X-Gm-Message-State: AODbwcCzpEuoVHFWdLXLMbtyAtjNVkpoLoWJf4rH9mUhgGswuiPVZnQg svOELBL2S51+O7lBQ3EoLZktvMIO9A== X-Received: by 10.28.103.214 with SMTP id b205mr22733010wmc.122.1495380592740; Sun, 21 May 2017 08:29:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.211.205 with HTTP; Sun, 21 May 2017 08:29:32 -0700 (PDT) Date: Sun, 21 May 2017 17:29:32 +0200 X-Gmail-Original-Message-ID: Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="001a114b330e08e33205500a6dd5" X-Scanned-By: ClueGetter at submission5.mail.transip.nl X-Report-Abuse-To: abuse@transip.nl Subject: [RFC] [Discussion] Arrays starting with a negative index From: mail@pmmaga.net (=?UTF-8?Q?Pedro_Magalh=C3=A3es?=) --001a114b330e08e33205500a6dd5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C3=A3es --001a114b330e08e33205500a6dd5--