Bug #7663 [Opn]: Typo In Example
| From: | josh at skwash dot net | Date: | Thu, 18 May 2006 16:34:07 +0000 |
| Subject: | Bug #7663 [Opn]: Typo In Example | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-7930@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=7663&edit=1
ID: 7663
User updated by: josh at skwash dot net
Reported By: josh at skwash dot net
Status: Open
Id: 7663
Type: Bug
Package: Documentation
Operating System: n/a
PHP Version: Irrelevant
New Comment:
I forgot to include the URL to the exact page:
http://pear.php.net/manual/en/package.webservices.xml-rpc.api.php
Previous Comments:
------------------------------------------------------------------------
[2006-05-18 12:32:13] josh at skwash dot net
Description:
------------
On the API page of the XML_RPC Manual an example is typoed.
Under addStruct() it shows addArray() in the example instead of
addStruct().
Expected result:
----------------
addStruct()
$ok = $val->addStruct ($assocArrayVal)
Turns an empty XML_RPC_Value into a struct with contents as specified
by $assocArrayVal. See the fourth constructor form for more
information.
Actual result:
--------------
addStruct()
$ok = $val->addArray ($assocArrayVal)
Turns an empty XML_RPC_Value into a struct with contents as specified
by $assocArrayVal. See the fourth constructor form for more
information.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=7663&edit=1