xmlrpc_decode
(PHP 4 >= 4.0.7, PHP 5)
xmlrpc_decode — Decodes XML into native PHP types
Popis
mixed xmlrpc_decode
( string $xml
[, string $encoding
] )
Warning
Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.
Parametre
- xml
-
XML response returned by XMLRPC method.
- encoding
-
Input encoding supported by iconv (defaults to "iso-8859-1").
Vrátené hodnoty
Returns either an array, or an integer, or a string, or a boolean according to the response returned by the XMLRPC method.
Príklady
See example by xmlrpc_encode_request().