xmlrpc_decode

Decodes XML into native PHP types

&reftitle.description; `mixed` `xmlrpc_decode` `string` `xml` `string` `encoding`"iso-8859-1" &warn.experimental.func;
&reftitle.parameters;

`xml`

- XML response returned by XMLRPC method.

`encoding`

- Input encoding supported by iconv.

&reftitle.returnvalues;

Returns either an array, or an integer, or a string, or a boolean according to the response returned by the XMLRPC method.

&reftitle.examples;

See example by `xmlrpc_encode_request`.

&reftitle.seealso;

- `xmlrpc_encode_request`
- `xmlrpc_is_fault`