xmlrpc_decode
(PHP 4 >= 4.0.7, PHP 5)
xmlrpc_decode — Decodes XML into native PHP types
Descripción
mixed xmlrpc_decode
( string $xml
[, string $encoding
] )
Warning
Esta función es EXPERIMENTAL. Esto significa que el comportamiento de esta función, el nombre de esta función y en definitiva TODO lo documentado sobre esta función, puede cambiar en una futura version de PHP SIN AVISO. La advertencia queda hecha, y utilizar esta extensión queda bajo su propia responsabilidad.
Lista de parámetros
- xml
-
XML response returned by XMLRPC method.
- encoding
-
Input encoding supported by iconv (defaults to "iso-8859-1").
Valores retornados
Returns either an array, or an integer, or a string, or a boolean according to the response returned by the XMLRPC method.
Ejemplos
See example by xmlrpc_encode_request().