xmlrpc_decode
(PHP 4 >= 4.0.7, PHP 5)
xmlrpc_decode — Decodes XML into native PHP types
Description
mixed xmlrpc_decode
( string $xml
[, string $encoding
] )
Warning
Varoitus! Tämä funktio on EKSPERIMENTAALINEN. Tämän funktion ominaisuudet, käyttäytyminen, parametrit ja nimi voivat muuttua varoituksetta seuraavissa PHP versioissa.
Parameters
- xml
-
XML response returned by XMLRPC method.
- encoding
-
Input encoding supported by iconv (defaults to "iso-8859-1").
Return values
Returns either an array, or an integer, or a string, or a boolean according to the response returned by the XMLRPC method.
Examples
See example by xmlrpc_encode_request().