xmlrpc_decode_request
(PHP 4 >= 4.1.0, PHP 5)
xmlrpc_decode_request — Decodes XML into native PHP types
Description
Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
Warning
This function is currently not documented; only its argument list is available.
- xmlrpc_decode_request
- xmlrpc_decode
- xmlrpc_encode_request
- xmlrpc_encode
- xmlrpc_get_type
- xmlrpc_is_fault
- xmlrpc_parse_method_descriptions
- xmlrpc_server_add_introspection_data
- xmlrpc_server_call_method
- xmlrpc_server_create
- xmlrpc_server_destroy
- xmlrpc_server_register_introspection_callback
- xmlrpc_server_register_method
- xmlrpc_set_type
Коментарии
This function works exactly the same as xmlrpc_decode() except it gives you access to the method being called as well (xmlrpc_decode() only outputs the params from the XML-RPC call).
To use this function, simply create an empty variable to store the method string in, and then pass by reference like so:
<?php
$method = null;
$params = xmlrpc_decode_request('<xml rpc request>', &$method);
?>
What you will get back are the params stored in $params, and $method will have the method being requested.