--TEST--
Bug #42736 (xmlrpc_server_call_method() crashes)
--SKIPIF--
--FILE--
add($id);
}
}
$xml = xmlrpc_server_create();
$Myrequest = 'GetProducts20060922T14:26:19';
class MyClass {
function GetProducts($dummy, $time){
return array('faultString' => $time);
}
}
$myclass = new MyClass();
xmlrpc_server_register_method($xml, 'GetProducts', array($myclass, 'GetProducts'));
$response = xmlrpc_server_call_method($xml, $Myrequest, null);
var_dump($response);
echo "Done\n";
?>
--EXPECTF--
string(402) "
faultString
20060922T14:26:19
"
Done