Skip to content

Commit

Permalink
Tag release 4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Jun 30, 2017
1 parent 7c326f1 commit 3b79b8f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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 <I8> and <EX:I8> integers, sending <I8>
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/PhpXmlRpc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3b79b8f

Please sign in to comment.