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

From: Date: Thu, 22 Feb 2018 21:17:18 +0000
Subject: Re: Re: [RFC] [Discussion] Arrays starting with a negative index
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-101903@lists.php.net to get a copy of this message
Hi Niklas, On Thu, Feb 22, 2018 at 8:38 PM, Niklas Keller <me@kelunik.com> 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

« previous php.internals (#101903) next »