Re: [RFC] Bare Name Array

From: Date: Sun, 01 Jun 2014 19:28:38 +0000
Subject: Re: [RFC] Bare Name Array
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-74677@lists.php.net to get a copy of this message
On 1 Jun 2014, at 20:24, Rowan Collins <rowan.collins@gmail.com> wrote: > As others have pointed out, PHP has an additional burden here that *all* barewords in an array > literal are currently constant references. Right. Hence, I add a syntax that treats the string as a bare word rather than a constant. The => operator still works as usual and deals with expressions, but : deals with bare words. -- Andrea Faulds http://ajf.me/

« previous php.internals (#74677) next »