RE: Re[2]: [PHP-DEV] Proposal: Array syntax

2003-11-05 Thread Mike Robinson
s0niX wrote: > The problem i see when using array() (or list()) is that it nearly looks > like it is a function, but it isn't. Using [] instead would clearly > mark this difference. > array() and list() are special language constructs, why shouldn't > they look a bit special? > This doesn't break

Re: Re[2]: [PHP-DEV] Proposal: Array syntax

2003-11-05 Thread Dirkjan Ochtman
I like it a lot as well. Having the [] syntax also support range()-like calls would be a very nice idea as well. :D Regards, Manuzhai "Mike Robinson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > s0niX wrote: > > > The problem i see when using array() (or list()) is that it nearl