7 static public $xmlrpcerr = array(
10 'incorrect_params' => 3,
11 'introspect_unknown' => 4,
16 'invalid_request' => 15,
19 'multicall_error' => 18,
20 'multicall_notstruct' => 9,
21 'multicall_nomethod' => 10,
22 'multicall_notstring' => 11,
23 'multicall_recursion' => 12,
24 'multicall_noparams' => 13,
25 'multicall_notarray' => 14,
27 'cannot_decompress' => 103,
28 'decompress_fail' => 104,
29 'dechunk_fail' => 105,
30 'server_cannot_decompress' => 106,
31 'server_decompress_fail' => 107,
34 static public $xmlrpcstr = array(
35 'unknown_method' =>
'Unknown method',
36 'invalid_return' =>
'Invalid return payload: enable debugging to examine incoming payload',
37 'incorrect_params' =>
'Incorrect parameters passed to method',
38 'introspect_unknown' =>
"Can't introspect: method unknown",
39 'http_error' =>
"Didn't receive 200 OK from remote server.",
40 'no_data' =>
'No data received from server.',
41 'no_ssl' =>
'No SSL support compiled in.',
42 'curl_fail' =>
'CURL error',
43 'invalid_request' =>
'Invalid request payload',
44 'no_curl' =>
'No CURL support compiled in.',
45 'server_error' =>
'Internal server error',
46 'multicall_error' =>
'Received from server invalid multicall response',
47 'multicall_notstruct' =>
'system.multicall expected struct',
48 'multicall_nomethod' =>
'missing methodName',
49 'multicall_notstring' =>
'methodName is not a string',
50 'multicall_recursion' =>
'recursive system.multicall forbidden',
51 'multicall_noparams' =>
'missing params',
52 'multicall_notarray' =>
'params is not an array',
54 'cannot_decompress' =>
'Received from server compressed HTTP and cannot decompress',
55 'decompress_fail' =>
'Received from server invalid compressed HTTP',
56 'dechunk_fail' =>
'Received from server invalid chunked HTTP',
57 'server_cannot_decompress' =>
'Received from client compressed HTTP request and cannot decompress',
58 'server_decompress_fail' =>
'Received from client invalid compressed HTTP request',
64 public static $xmlrpc_defencoding =
"UTF-8";
70 public static $xmlrpc_detectencodings = array();
76 public static $xmlrpc_internalencoding =
"UTF-8";
78 public static $xmlrpcName =
"XML-RPC for PHP";
79 public static $xmlrpcVersion =
"4.0.0.alpha";
82 public static $xmlrpcerruser = 800;
84 public static $xmlrpcerrxml = 100;
87 public static $xmlrpc_null_extension =
false;
90 public static $xmlrpc_null_apache_encoding =
false;
92 public static $xmlrpc_null_apache_encoding_ns =
"http://ws.apache.org/xmlrpc/namespaces/extensions";
100 $reflection = new \ReflectionClass(
'PhpXmlRpc\PhpXmlRpc');
101 foreach ($reflection->getStaticProperties() as $name => $value) {
108 $reflection = new \ReflectionClass(
'PhpXmlRpc\Value');
109 foreach ($reflection->getStaticProperties() as $name => $value) {
114 $reflection = new \ReflectionClass(
'PhpXmlRpc\Helper\XMLParser');
115 foreach ($reflection->getProperties(\ReflectionProperty::IS_PUBLIC) as $name => $value) {
116 if (in_array($value->getName(), array(
'xmlrpc_valid_parents')))
118 $GLOBALS[$value->getName()] = $value->getValue($parser);
123 $GLOBALS[
'xml_iso88591_Entities'] = $charset->getEntities(
'iso88591');
138 $reflection = new \ReflectionClass(
'PhpXmlRpc\PhpXmlRpc');
139 $staticProperties = $reflection->getStaticProperties();
140 foreach ($staticProperties as $name => $value) {