enable null extension
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 15 Feb 2017 11:32:54 +0000 (12:32 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 15 Feb 2017 11:32:54 +0000 (12:32 +0100)
php/plc_api.php

index 9a08ad2..3c878ba 100644 (file)
@@ -139,6 +139,9 @@ class PLCAPI
     $url .= $this->server . ':' . $this->port . '/' . $this->path;
     curl_setopt($curl, CURLOPT_URL, $url);
 
+    // this tentatively allows to tune mainstream xmlrpc php lib
+    // so as to achieve the same behaviour as with our patched lib
+    $xmlrpc_null_extension = TRUE;
     // Marshal the XML-RPC request as a POST variable. <nil/> is an
     // extension to the XML-RPC spec that is supported in our custom
     // version of xmlrpc.so via the 'allow_null' output_encoding key.