Re: RFC: Short syntax for Arrays (redux)
| From: | Sean Coates | Date: | Tue, 31 May 2011 21:53:34 +0000 |
| Subject: | Re: RFC: Short syntax for Arrays (redux) | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52594@lists.php.net to get a copy of this message | ||
>> Don't you think having support for both ['a':1, 'b':2] and
>> {'a':1,
>> 'b':2} would create confusion?
This sounds OK to me, FWIW.
> Would seem to me a more elegant solution would to just drop the idea of json interoperability
> and go with something that works for PHP.
>
> ('a'=>'b', 0=>1234) perhaps?
Please, no. Let's implement or augment JSON, not bastardize it.
S