(PHP 4 >= 4.1.0, PHP 5, PHP 7)
xmlrpc_decode — Decodes XML into native PHP types
xmlrpc_decode(string $xml, string $encoding = "iso-8859-1"): mixed
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
xmlXML response returned by XMLRPC method.
encodingInput encoding supported by iconv.
Returns either an array, or an integer, or a string, or a boolean according to the response returned by the XMLRPC method.
See example by xmlrpc_encode_request().
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.xmlrpc-decode.php