XML-RPC
| From: | Seth Fitzsimmons | Date: | Tue, 03 Jul 2001 15:34:39 +0000 |
| Subject: | XML-RPC | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-184@lists.php.net to get a copy of this message | ||
I've been using the XML-RPC PEARizations on a project lately without any
problems (save one, which this is about). They've been quite good to me.
XML_RPC_Encode(), however, wasn't fully PEARized, so it doesn't work in
the CVS copy. So here's a diff that fixes it. I don't have CVS access,
so if someone else could commit it for me, that'd be nice.
seth
374c374
< array_append($arr,
xmlrpc_decode($xmlrpcval->arraymem($i)) );
---
> array_append($arr,
XML_RPC_decode($xmlrpcval->arraymem($i)) );
383c383
< $arr[$key] = xmlrpc_decode($value);
---
> $arr[$key] = XML_RPC_decode($value);
418c418
< $arr[$k] = xmlrpc_encode($v);
---
> $arr[$k] = XML_RPC_encode($v);