RE: [PHP-DEV] Re: Short syntax for array literals [...]

From: Date: Wed, 28 May 2008 15:28:26 +0000
Subject: RE: [PHP-DEV] Re: Short syntax for array literals [...]
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-37968@lists.php.net to get a copy of this message
> -----Original Message----- > From: Derick Rethans [mailto:derick@php.net] > Sent: Tuesday, May 27, 2008 11:32 PM > To: jani.taskinen@iki.fi > Cc: Sebastian Deutsch; PHP Developers Mailing List > Subject: Re: [PHP-DEV] Re: Short syntax for array literals [...] > > Please let's not turn PHP into unreadable syntax like perl usually > advocates. Besides this, it's only really useful for multi-dimensional > arrays - and if you go there you've most likely lost anyway. I personally would also prefer this syntax over array() for single dimensional arrays. Andi

« previous php.internals (#37968) next »