Re: Short syntax for array literals [...]
| From: | Pierre Joye | Date: | Thu, 22 May 2008 10:33:26 +0000 |
| Subject: | Re: Short syntax for array literals [...] | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37795@lists.php.net to get a copy of this message | ||
On Thu, May 22, 2008 at 11:56 AM, Antony Dovgal <tony@daylessday.org> wrote:
> On 22.05.2008 13:46, Pierre Joye wrote:
>>
>> On Thu, May 22, 2008 at 5:53 AM, Stanislav Malyshev <stas@zend.com> wrote:
>>>
>>> Hi!
>>>
>>>> $a = [[1, 2], [3, 4], 5, 6];
>>>
>>> Proposed twice at least, but PHP developer community doesn't seem to like
>>> it.
>>
>> Many of us like it. And the end users I know like it too.
>
> I see no advantages here, only another way to do already possible thing and
> yet another way to confuse people.
> But starting this discussion from the very beginning makes very little
> sense.
Agreed, we should simply go through a vote and be done with that.
--
Pierre
http://blog.thepimp.net | http://www.libgd.org