Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99421 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92252 invoked from network); 7 Jun 2017 12:19:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jun 2017 12:19:45 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.182 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.128.182 mail-wr0-f182.google.com Received: from [209.85.128.182] ([209.85.128.182:33414] helo=mail-wr0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/D8-27119-06FE7395 for ; Wed, 07 Jun 2017 08:19:45 -0400 Received: by mail-wr0-f182.google.com with SMTP id v104so5367982wrb.0 for ; Wed, 07 Jun 2017 05:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bUUYyd9t/0WeLVMG+KhlNn+VGeIobfvJwZYvMJzwT3s=; b=MqULAJcsNBhnJKLb+sAlTrK2Ci7ottmOrl5oPG30L5VwqUSBaKgtuFv8o+gcga8zdi jT5y9oGIGye/+JBdJ+TpLAIG+RK5HfdUT+K7kHz5OQFbjMx8vFp8z8aCUtkWw5evgNFI t6O9HYTCWL3MA/dRsQZ6ndMRRbgIE+lw8HjrSrwwL53kG01qD4eEg8/6semzbLWc93v9 aht5dOdtEQTBwtrD9naWf5KywqK4K1z3b5oqDNSYex1tCffHKaobUy+bQcTR0omkzOoJ zGXEbs9KKSf+0QUEe+pfK8pQoC0emSiyzGgSltW+Lbtfv+VWW3P1pM7XQT+HyyQhwTcE zlVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bUUYyd9t/0WeLVMG+KhlNn+VGeIobfvJwZYvMJzwT3s=; b=cKSzwWWg9X2J5b8Wk3qeDg+m3rn5pe6kwuInhgNaCC+PDqe1eYwof1byB0nyqxUrQj yEi9Ile6ab7m3R3AnTjBBS2PoYucFq8f9EQqQposyuJBayXFK+kKwrhfJ1GIuwl3cMa9 pvoGmv4wUYiDpdphNn1/ygkq9eKaPXjCm8amcQ/OGFpthqk8XFm2Hr37nzOvVlYzWTz3 khsQf4n4I6TuO7nKUEiFeQ7g4yuuGzqXH9ZHMG3HrC9iS12E3OJq/qF157ZvdNo6JKf5 HxNzh9nTHJDBbD/sHSFerGrdM6OYn2u5FH4TRIqsbnRRNtGoMlNfuo8SfiWBAvI1i+ke ZQmg== X-Gm-Message-State: AODbwcBb8Aup02W2gnDol02/IN7FeJmv6GqW/KvNt/rLXjtmaejh/GgL sc0NsSUjX3n9JxQ85Vh8FWeRwM7AT/gE X-Received: by 10.223.135.43 with SMTP id a40mr14834755wra.138.1496837982014; Wed, 07 Jun 2017 05:19:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.161.153 with HTTP; Wed, 7 Jun 2017 05:19:39 -0700 (PDT) Received: by 10.223.161.153 with HTTP; Wed, 7 Jun 2017 05:19:39 -0700 (PDT) In-Reply-To: <76d33380-6337-4950-b027-f1312d86bf28@tekwire.net> References: <76d33380-6337-4950-b027-f1312d86bf28@tekwire.net> Date: Wed, 7 Jun 2017 14:19:39 +0200 Message-ID: To: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= Cc: Derick Rethans , PHP Internals List , =?UTF-8?Q?Pedro_Magalh=C3=A3es?= Content-Type: multipart/alternative; boundary="001a1149813234730905515dc07f" Subject: Re: [PHP-DEV] [RFC] [VOTE] Arrays starting with a negative index From: ocramius@gmail.com (Marco Pivetta) --001a1149813234730905515dc07f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Voting "no" as well, since applications relying on "array_keys()" and assuming on the allowed integer range of those may even become vulnerable. This is one of those subtle BC breaks that are extremely hard to find. On 7 Jun 2017 2:12 p.m., "Fran=C3=A7ois Laupretre" w= rote: > 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=C3=A7ois > > Le 07/06/2017 =C3=A0 13:31, Derick Rethans a =C3=A9crit : > >> On Tue, 6 Jun 2017, Pedro Magalh=C3=A3es 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 wh= en >>> negative numeric keys are used explicitly and the following implicit ke= ys >>> will start from zero. >>> >>> You can find the RFC here: https://wiki.php.net/rfc/negative_array_inde= x >>> 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 >> >> >> > --001a1149813234730905515dc07f--