Re: [RFC] Bare Name Array
| From: | Andrea Faulds | Date: | Sun, 01 Jun 2014 20:14:07 +0000 |
| Subject: | Re: [RFC] Bare Name Array | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74685@lists.php.net to get a copy of this message | ||
On 1 Jun 2014, at 21:09, Rowan Collins <rowan.collins@gmail.com> wrote:
> That's not really "the opposite". IIRC, the => is considered to be
> "syntactic sugar" for the ",". The quotes are optional in both cases.
Actually you’re right, my bad, however under strict mode you have to use => as bare words are
forbidden otherwise.
--
Andrea Faulds
http://ajf.me/