> From: Christian Schneider [mailto:[EMAIL PROTECTED]
> What's also beautiful about [] IMHO is the symmetry of the syntax,
> list() and array() are asymmetrical which I always found inferior.
Agree. +1 for me, especially for this reason, even after reading Greg's
examples :) IMO, it is
more important to provide an elegant alternative to list() than a new syntax
for array().
>
> >> - func('foo' => $foo, 'bar' => $bar, ...) equivalent to
> >> func(array('foo' => $foo, 'bar' => $bar, ...)
Argh! Reading such a line, I think of named parameters, not an array. Ugly,
confusing. -1 for
me. Definitely.
May I add that, as I regularly write multi-layer arrays as SOAP return values,
I personnaly
like this proposed syntax.
Francois
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php