diff --git a/reference/xmlrpc/functions/xmlrpc-decode.xml b/reference/xmlrpc/functions/xmlrpc-decode.xml
index e5210e670a..8fc491ff49 100644
--- a/reference/xmlrpc/functions/xmlrpc-decode.xml
+++ b/reference/xmlrpc/functions/xmlrpc-decode.xml
@@ -1,5 +1,5 @@
-
+
xmlrpc_decode
@@ -13,8 +13,56 @@
stringencoding
&warn.experimental.func;
- &warn.undocumented.func;
+
+
+ &reftitle.parameters;
+
+
+
+ xml
+
+
+ XML response returned by XMLRPC method.
+
+
+
+
+ encoding
+
+
+ Input encoding supported by iconv (defaults to "iso-8859-1").
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ Returns an array made from response of XMLRPC method.
+
+
+
+
+ &reftitle.examples;
+
+ See example by xmlrpc_encode_request.
+
+
+
+
+ &reftitle.seealso;
+
+
+ xmlrpc_encode_request
+ xmlrpc_is_fault
+
+
+
+
+
xmlrpc_encode_request
@@ -14,8 +14,95 @@
arrayoutput_options
&warn.experimental.func;
- &warn.undocumented.func;
+
+
+ &reftitle.parameters;
+
+
+
+ method
+
+
+ Name of the method to call.
+
+
+
+
+ params
+
+
+ Method parameters compatible with method signature.
+
+
+
+
+ output_options
+
+
+ Array specifying output options may contain (default values are
+ emphasised):
+
+ output_type: php, xml
+ verbosity: no_white_space, newlines_only, pretty
+ escaping: cdata, non-ascii, non-print, markup
+ (may be a string with one value or an array with multiple values)
+ version: simple, xmlrpc, soap 1.1, auto
+ encoding: iso-8859-1, other character set supported by iconv
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ Returns a string containing the XML representation of the request.
+
+
+
+
+ &reftitle.examples;
+
+
+ XMLRPC client functions example
+
+ array(
+ 'method' => "POST",
+ 'header' => "Content-Type: text/xml",
+ 'content' => $request
+)));
+$file = file_get_contents("http://www.example.com/xmlrpc", false, $context);
+$response = xmlrpc_decode($file);
+if (xmlrpc_is_fault($response)) {
+ trigger_error("xmlrpc: $response[faultString] ($response[faultCode])");
+} else {
+ print_r($response);
+}
+?>
+]]>
+
+
+
+
+
+
+ &reftitle.seealso;
+
+
+ stream_context_create
+ file_get_contents
+ xmlrpc_decode
+
+
+
+
+
xmlrpc_is_fault
-
- Determines if an array value represents an XMLRPC fault
-
+ Determines if an array value represents an XMLRPC fault
&reftitle.description;
@@ -14,8 +12,49 @@
arrayarg
&warn.experimental.func;
- &warn.undocumented.func;
+
+
+ &reftitle.parameters;
+
+
+
+ arg
+
+
+ Array returned by xmlrpc_decode.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ Returns &true; if the argument means fault, &false; otherwise. Fault
+ description is available in $arg["faultString"], fault
+ code is in $arg["faultCode"].
+
+
+
+
+ &reftitle.examples;
+
+ See example by xmlrpc_encode_request.
+
+
+
+
+ &reftitle.seealso;
+
+
+ xmlrpc_decode
+
+
+
+