[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-doc
Subject:    [PEAR-DOC] [PEAR-BUG] Bug #7663 [NEW]: Typo In Example
From:       "josh at skwash dot net" <pear-doc () lists ! php ! net>
Date:       2006-05-18 16:32:14
Message-ID: bug-7663 () pear ! php ! net
[Download RAW message or body]

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

-- 
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic