Re: [PHP-DEV] RE : [PHP-DEV] Re: Syntactic improvement to array

2007-02-06 Thread Richard Lynch
On Tue, February 6, 2007 8:17 am, LAUPRETRE François (P) wrote: >> From: Richard Lynch >> >> How many newbies will be trying: >> array[1, 2, 3]; >> and left scratching their heads when it doesn't work? > > Yes, even if I am in favor of the [] syntax, it is a good argument: > 'array[ 1, 2, 3]' can >

[PHP-DEV] RE : [PHP-DEV] Re: Syntactic improvement to array

2007-02-06 Thread P
> From: Richard Lynch > > How many newbies will be trying: > array[1, 2, 3]; > and left scratching their heads when it doesn't work? Yes, even if I am in favor of the [] syntax, it is a good argument: 'array[ 1, 2, 3]' can become a very common error, and not especially among newbies! Maybe I a