class xmlrpc_server extends PhpXmlRpc\Server
{
+ /**
+ * A debugging routine: just echoes back the input packet as a string value
+ * @deprecated
+ */
+ public function echoInput()
+ {
+ $r = new Response(new PhpXmlRpc\Value("'Aha said I: '" . file_get_contents('php://input'), 'string'));
+ print $r->serialize();
+ }
}
/* Expose as global functions the ones which are now class methods */
function xmlrpc_debugmsg($m)
{
PhpXmlRpc\Server::xmlrpc_debugmsg($m);
-}
\ No newline at end of file
+}