[dev] curious

Jan Schneider jan at horde.org
Thu May 12 01:09:12 PDT 2005


Zitat von Eric Rostetter <eric.rostetter at physics.utexas.edu>:

> Quoting Greg Rundlett <Greg.Rundlett at savaJe.com>:
>
>> Also, why do many arrays, such as in the registry.php use a trailing
>> comma after the last element?
>
> No idea about that one.

It also doesn't make a difference, and it allows to easily add new 
elements by adding new lines without the risk to forget a separating 
comma. It's only there for the developers' laziness.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list