Forum und email
xmlrpc_decode

xmlrpc_decode

(PHP 4 >= 4.1.0, PHP 5)

xmlrpc_decode -- Decodes XML into native PHP types

Opis

mixed xmlrpc_decode ( string xml [, string encoding] )

Ostrzeżenie

Ta funkcja jest w stadium EKSPERYMENTALNYM. Oznacza to, że zachowanie funkcji, jej nazwa, w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia. Używaj tej funkcji na własne ryzyko.

Parametry

xml

XML response returned by XMLRPC method.

encoding

Input encoding supported by iconv (defaults to "iso-8859-1").

Zwracane wartości

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

Przykłady

See example by xmlrpc_encode_request().