xmlrpc_decode> <Funções para XML-RPC
Last updated: Fri, 24 Feb 2012

xmlrpc_decode_request

(PHP 4 >= 4.1.0, PHP 5)

xmlrpc_decode_requestDecodifica XML para tipos nativos do PHP

Descrição

mixed xmlrpc_decode_request ( string $xml , string &$method [, string $encoding ] )
Aviso

Esta função é EXPERIMENTAL. O comportamento desta função, seu nome, incluindo toda documentação pode ser modificado sem aviso em futuras versões do PHP. Esta função deve ser usada por sua própria conta e risco.

Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.



User Contributed Notes
xmlrpc_decode_request
e dot sand at elisand dot com
22-Jun-2009 05:20
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.

xmlrpc_decode> <Funções para XML-RPC
Last updated: Fri, 24 Feb 2012