Re: cvs: phpdoc /en/reference/array/functions array-combine.xml array-count-values.xml array-diff-assoc.xml array-diff.xml array-filter.xml
array-flip.xml array-intersect-assoc.xml array-int
| From: | Cece) Szabolcs | Date: | Sun, 17 Aug 2003 13:13:33 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/array/functions array-combine.xml array-count-values.xml array-diff-assoc.xml array-diff.xml array-filter.xml array-flip.xml array-intersect-assoc.xml array-int |
||
| References: | 1 2 3 4 5 6 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969355873@lists.php.net to get a copy of this message | ||
> You shouldn't use () with echo anyway, it can do things you won't
> expect. array and return are control structures too, so I don't see why
> they should be different. (array is not that obvious, but return is
> definitely a control structure (it controls the end of a
> function/include file)). Both echo and return do not need ()'s
> anyway... unless you really need to group things (which only makes sense
> with return of course).
Derick has absolutely right with return i think. I was a bit doubtful
with that. I saw returns without brackets a lot, and some return
with brackets, but without space between.
I'm going to revert return affected docs.
But what about arrays? Can we discuss Pear guys about that?
--
=============================================================
Heilig (Cece) Szabolcs - cece@php.net - http://www.phphost.hu
=============================================================