--TEST--
Bug #50761 (system.multiCall crashes)
--SKIPIF--
--FILE--
system.multiCall
methodNametestMethodA
paramsA
methodNametestMethodB
paramsB
';
function testA($methodName, $params, $var){ return "C"; }
function testB($methodName, $params, $var){ return "D"; }
$server = xmlrpc_server_create();
xmlrpc_server_register_method($server, 'testMethodA', 'testA');
xmlrpc_server_register_method($server, 'testMethodB', 'testB');
$res = xmlrpc_server_call_method($server, $req, null);
echo $res;
?>
--EXPECT--
C
D