Re: Syntactic improvement to array
| From: | Antony Dovgal | Date: | Mon, 05 Feb 2007 07:48:20 +0000 |
| Subject: | Re: Syntactic improvement to array | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27792@lists.php.net to get a copy of this message | ||
On 02/04/2007 10:25 AM, Andi Gutmans wrote:
Hi, I thought I may have brought this up a long time ago but couldn't find anything in the archives. For a long time already I've been thinking about possibly adding a new syntax for array(...) which would be shorter. I'd suggest [...]. While I am usually not in favor of having more than one way to do things, I think it'd look much more elegant especially (but not only) for nested arrays.It doesn't look more elegant to me. -1 -- Wbr, Antony Dovgal