On Sun, Oct 30, 2011 at 08:47, Nam Gi VU <nam.gi...@gmail.com> wrote:
> It is convenient to have a trailing comma when defining an array - so as
> easy to add/remove code to add/remove an entry to the array
> 'key00' => 'value00',
> 'key01' => 'value01',
> 'key02' => 'value02',
> I suggest to PHP Development team to make it available in the syntax to
> have a leading comma
> , 'key00' => 'value00'
> , 'key01' => 'value01'
> , 'key02' => 'value02'
> in such way, we can thought of the leading commas as the list bulletings.
> And the same things would be lovely to be applied also to function
> parameter list. I don't see why not :)
> What do you thing about my suggestion? Hope to hear from you!
For feature requests such as this, please discuss it on the
Internals list (CC'd on this email) and suggest it via the bug tracker
at https://bugs.php.net/ (with the bug type as a "Feature/Change
</Daniel P. Brown>
Network Infrastructure Manager
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php