Re: return value checking
| From: | Nuno Lopes | Date: | Mon, 09 Aug 2004 11:29:49 +0000 |
| Subject: | Re: return value checking | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969362965@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.
>
> ali
Yep! Thats the way I use. Just look at the Zend macros, like:
zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|zsb",.......)
its all explained at: php-src/README.PARAMETER_PARSING_API
Nuno