Re: [RFC] Square brackets shortcut
| From: | Pierre | Date: | Thu, 10 Jan 2008 19:46:55 +0000 |
| Subject: | Re: [RFC] Square brackets shortcut | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34662@lists.php.net to get a copy of this message | ||
Hi,
On Jan 10, 2008 11:07 AM, Ryusuke SEKIYAMA <rsky0711@gmail.com> wrote:
> b) Commit square bracket array shortcut patch
> keys and values are separated by double arrows.
> ( http://www.opendogs.org/pub/php-5.3dev-080109-sbar2.patch
> )
> e.g.
> $a = [1, 2, 3];
> $b = ['foo' => 'orange', 'bar' => 'apple',
> 'baz' => 'lemon'];
I like this one, +1
ps: no need to argue why you don't like, it would be nice to simply
say +1/-1, trolls quota is already full for this year :)
--
Pierre
http://blog.thepimp.net | http://www.libgd.org