[dev] Re: [cvs] commit: imp expand.php fetchmail.php imp/lib IMP.php imp/templates/compose expand.incpassphrase.inc smime.inc

Jan Schneider jan at horde.org
Wed Jan 22 17:50:32 PST 2003


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> Quoting Eric Rostetter <eric.rostetter at physics.utexas.edu>:
> 
> > How to check things (isset -> is_array_key, isError -> is_a, etc) has
> > changed a lot over the last year.  Makes it hard for people to figure
> out
> > how to code these things properly.  So my point/suggestion is that
> someone
> > who is up on the standard de jour add a section to the CODING_STANDARDS
> > file on this stuff so the rest of us peons (like me) can have half a
> clue
> > as to what to do...
> 
> http://cvs.horde.org/diff.php/horde/docs/CODING_STANDARDS?r1=1.59&r2=1.60&ty=u
> 
> Comments/corrections/whatever appreciated.

We should point out that empty() on an empty array also returns true.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list