Re: return value checking
| From: | Gabor Hojtsy | Date: | Mon, 09 Aug 2004 12:14:33 +0000 |
| Subject: | Re: return value checking | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969362975@lists.php.net to get a copy of this message | ||
> > > The sourcefile (c) says a bool should be returned and the docs (x) say its
> > an int. If anyone would like to have a look ...
> >
> > But don't trust too must on the protos that are in the sources because many
> > are simply wrong!
>
> What is the
common way of doing this? Looking trough the source
> files and then look which Zend macros are used to return data? Would be nice to know how the
> documention from scratch is done.
xml_proto.php generates the protos from sratch. If you need to fix a proto
in the manual/source, you need to manually check what is the real
paramteter order and types and return type.
Goba