> > > The question is not only how to write functions, but how
> > > to write code, including functions, comments, variable
> > > names, constants, sample output, expressions, etc.
> > 
> > We cannot switch between PEAR, PECL, or another standard. Please
> > remove the link to PEAR.
>
> Why can't we use the PEAR standard for PHP code and the PECL coding
> standard (which seem to be the same as the for php) for C related code.
> It looks confusing and inconsistent when PHP comes along with PEAR and
> it's conding standard and the Manual with no or another one. I do not
> say change all samples at once, but try to integrate the PEAR coding
> standard into the examples of PHP code in the Manual.

I think this need to be discussed. What coding standard would
like the phpdoc authors follow, if any. I think we should follow
one. Either we choose the PEAR coding standard, which needs to
be extended somewhat for our needs (eg. variable names,
comment weiting, output sample formatting), or we need to invent
a new one, but IMHO it is the best for writers and readers to
have a consistent manual.

Goba

Reply via email to