Bug #1988 [NEW]: documentation errors
| From: | norxh at binnews dot com | Date: | Tue, 27 Jul 2004 06:13:07 +0000 |
| Subject: | Bug #1988 [NEW]: documentation errors | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4676@lists.php.net to get a copy of this message | ||
From: norxh at binnews dot com
Operating system: n/a
PHP version: 4.3.8
Package: Documentation
Bug Type: Bug
Bug description: documentation errors
Description:
------------
http://pear.php.net/manual/en/package.webservices.xml-rpc.api.php
Under the heading "XML_RPC_Server", the second example:
function foo ($params) {
global $xmlrpcerruser; // import user errcode value
$xmlrpcerruser does not exist. the appropriate variable is defined on line
80 of 'XML/RPC.php'. This should read:
function foo ($params) {
global $XML_RPC_erruser; // import user errcode value
Also, in the same example, there is the comment:
// $params is an Array of XML_RPC_Value objects
Params is actually the received XML_RPC_Message object.
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=1988&edit=1
--