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_request
(PHP 4 >= 4.1.0, PHP 5)
xmlrpc_decode_request — Decodes XML into native PHP types
설명
Warning
이 함수는 실험적입니다. 이 함수의 작동, 함수의 이름, 그리고 관련된 모든 문서는 이후의 PHP 릴리즈에서 예고 없이 변경할 수 있습니다. 이 함수의 사용에 관한 것은 사용자 책임입니다.
Warning
이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다.
e dot sand at elisand dot com
22-Jun-2009 08:20
