Bug #7663 [NEW]: Typo In Example
| From: | josh at skwash dot net | Date: | Thu, 18 May 2006 16:32:14 +0000 |
| Subject: | Bug #7663 [NEW]: Typo In Example | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7929@lists.php.net to get a copy of this message | ||
From: josh at skwash dot net
Operating system: n/a
Package version:
PHP version: Irrelevant
Package: Documentation
Bug Type: Bug
Bug description: Typo In Example
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 bug report at http://pear.php.net/bugs/bug.php?id=7663&edit=1
--