Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101903 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75430 invoked from network); 22 Feb 2018 21:17:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Feb 2018 21:17:54 -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:41258] helo=outbound2.mail.transip.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/11-01511-1833F8A5 for ; Thu, 22 Feb 2018 16:17:54 -0500 Received: from submission4.mail.transip.nl (submission4.mail.transip.nl [149.210.149.124]) by outbound2.mail.transip.nl (Postfix) with ESMTP id 3znRyk2CWYzZw9B for ; Thu, 22 Feb 2018 22:17:50 +0100 (CET) Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by submission4.mail.transip.nl (Postfix) with ESMTPA id 3znRyh6XkZznTmh for ; Thu, 22 Feb 2018 22:17:43 +0100 (CET) Received: by mail-wr0-f179.google.com with SMTP id v65so11988695wrc.11 for ; Thu, 22 Feb 2018 13:17:43 -0800 (PST) X-Gm-Message-State: APf1xPCRJSTxc+KbIiq8CFM5C2u1ZU9wVnkyI5GbmEhSsBixdEu53XAc 6eFf14EBWb2PWgQlj8g3va41dPwQk007OesPIng= X-Google-Smtp-Source: AH8x227+xIG9JyrokWeryoaFro9lYAPC4+SFbv4D7eY+jc2pnXeznlpqfYhw488NBq8DtzNHhAkGbjqfVqzaFSRgXcY= X-Received: by 10.223.185.82 with SMTP id b18mr7269239wrg.180.1519334258376; Thu, 22 Feb 2018 13:17:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.145.166 with HTTP; Thu, 22 Feb 2018 13:17:18 -0800 (PST) In-Reply-To: References: Date: Thu, 22 Feb 2018 21:17:18 +0000 X-Gmail-Original-Message-ID: Message-ID: To: Niklas Keller Cc: PHP internals Content-Type: multipart/alternative; boundary="f403045f580ec405190565d392b1" X-Scanned-By: ClueGetter at submission4.mail.transip.nl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=transip-a; d=pmmaga.net; t=1519334269; h=from:reply-to:subject:to: cc:references:in-reply-to:date:mime-version:content-type; bh=sRSEk7+/LRvw8SL0qqdoAEZcSkQFBszHPZwtxS4tTnw=; b=hXfc+Nks5QDTt7DsAzMOE2Sbyi/6RN16I1YJ9yYXfFNoAEQq6mdaELj1zfjjmd4+LFrFln fHbC+WFoaRPZVYH76FWWmL6q0g5AKFyR0VjtoAzYpgSrfOWGB/XE/SZE1z2y2QTiMWuFZX RBDpvsvBaoH70pAwBVOxR0hcjoutbKEBf3uuUupMjWnV5SeFPhObAUdG569uXKC9uxlDv2 Pj10UasLLtVnJIWboZA9AY49ZxivH4VHqTumMJxfOYC15t/mBnw3IM5HDXpncNMqIdcMV8 IL2LS3EtdeCExNytk8sbfy4loFynONuKqLUi6A2GyEtBCdRvLeWJ7szx7RoX4g== X-Report-Abuse-To: abuse@transip.nl Subject: Re: [PHP-DEV] Re: [RFC] [Discussion] Arrays starting with a negative index From: mail@pmmaga.net (=?UTF-8?Q?Pedro_Magalh=C3=A3es?=) --f403045f580ec405190565d392b1 Content-Type: text/plain; charset="UTF-8" Hi Niklas, On Thu, Feb 22, 2018 at 8:38 PM, Niklas Keller wrote: > Hey, > > "Will no longer produce any output." in the BC example is wrong, it > will produce a notice due to an undefined index then. > > That's right. I've updated the RFC to make that section more clear. Including that the example would also emit the deprecation notice. > NOTE: If accepted, during the deprecation phase the following > E_DEPRECATED notice would be emitted in cases where the behavior will > change: > > I guess that means also $a[-3] = true; $a[] = false; will emit a > deprecation notice? > Yes, it would. Thanks, Pedro --f403045f580ec405190565d392b1--