* fixed: DateTimeInterface is not present in php 5.4 (error introduced in ver. 4.8.1)
+* fixed: use of uninitialized var when accessing nonexisting member of legacy class `xmlrpc_server` - thanks SonarQube
+
* new: allow users of the library to get more fine-grained information about errors in parsing received responses by
overriding the integer value of `PhpXmlRpc::$xmlrpcerr['invalid_xml']`, `PhpXmlRpc::$xmlrpcerr['xml_not_compliant']`,
`PhpXmlRpc::$xmlrpcerr['xml_parsing_error']` and the equivalent `PhpXmlRpc::$xmlrpcstr` strings (feature req. #101)
$code = "function $xmlrpcFuncName (";
if ($clientCopyMode < 2) {
// client copy mode 0 or 1 == partial / full client copy in emitted code
- $innerCode = build_client_wrapper_code($client, $clientCopyMode, $prefix, $namespace);
+ $innerCode = build_client_wrapper_code($client, $clientCopyMode, $prefix);
$innerCode .= "\$client->setDebug(\$debug);\n";
$this_ = '';
} else {
// (this provides for future expansion or subclassing of client obj)
if ($verbatim_client_copy)
{
- foreach($client as $fld => $val)
+ foreach ($client as $fld => $val)
{
- if($fld != 'debug' && $fld != 'return_type')
+ if ($fld != 'debug' && $fld != 'return_type')
{
$val = var_export($val, true);
$code .= "\$client->$fld = $val;\n";
}
/// @todo do not use \PhpXmlRpc\Encoder for this test
- function testBigXML()
+ public function testBigXML()
{
// nb: make sure that the serialized xml corresponding to this is > 10MB in size
$data = array();