> > > 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