diff --git a/NEWS b/NEWS index 9868a1ed..b206cc1e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,14 @@ +XML-RPC for PHP version 4.2.0 - 2017/6/30 + +* improved: allow a DateTimeImmutable object also be detected as a date when encoding + + +XML-RPC for PHP version 4.1.1 - 2016/10/1 + +* fixed: error in server class: undefined function php_xmlrpc_encode (only triggered when not using the compatibility + shim with old versions) + + XML-RPC for PHP version 4.1.0 - 2016/6/26 * improved: Added support for receiving and integers, sending @@ -7,6 +18,7 @@ XML-RPC for PHP version 4.1.0 - 2016/6/26 the developer will have to create values as i8 explicitly if needed. The library does *not* check if an outgoing integer is too big to fit in 4 bytes and convert it to an i8 automatically. + XML-RPC for PHP version 4.0.1 - 2016/3/27 * improved: all of the API documentation has been moved out of the manual and into the source code phpdoc comments diff --git a/src/PhpXmlRpc.php b/src/PhpXmlRpc.php index c9b12ad6..1f31b54c 100644 --- a/src/PhpXmlRpc.php +++ b/src/PhpXmlRpc.php @@ -79,7 +79,7 @@ class PhpXmlRpc public static $xmlrpc_internalencoding = "UTF-8"; public static $xmlrpcName = "XML-RPC for PHP"; - public static $xmlrpcVersion = "4.1.0"; + public static $xmlrpcVersion = "4.2.0"; // let user errors start at 800 public static $xmlrpcerruser = 800; diff --git a/src/Request.php b/src/Request.php index 0051e463..47144894 100644 --- a/src/Request.php +++ b/src/Request.php @@ -109,7 +109,7 @@ public function serialize($charsetEncoding = '') */ public function addParam($param) { - // add check: do not add to self params which are not xmlrpc values + // check: do not add to self params which are not xmlrpc values if (is_object($param) && is_a($param, 'PhpXmlRpc\Value')) { $this->params[] = $param;