Forum und email

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

הפונקציה זאת היא ניסיונית. ההתנהגות של הפונצקיה, שם הפונקציה וכל הדברים אשר מתועדים כאן עשויים להשתנות ללא התרעה בהפצות עתידיות של PHP. השתמש בתוספת זאת על אחריותך בלבד.

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.

דוגמאות

See example by xmlrpc_encode_request().