diff --git a/XML/RPC2/Backend/Php/Request.php b/XML/RPC2/Backend/Php/Request.php index e279362..50c16bc 100644 --- a/XML/RPC2/Backend/Php/Request.php +++ b/XML/RPC2/Backend/Php/Request.php @@ -163,7 +163,7 @@ public function encode() $result = '_encoding . '"?>' . "\n"; $result .= ""; - $result .= "${methodName}"; + $result .= "{$methodName}"; $result .= ""; foreach($parameters as $parameter) { $result .= ""; diff --git a/XML/RPC2/Backend/Xmlrpcext/Client.php b/XML/RPC2/Backend/Xmlrpcext/Client.php index a521bf5..ae559ae 100644 --- a/XML/RPC2/Backend/Xmlrpcext/Client.php +++ b/XML/RPC2/Backend/Xmlrpcext/Client.php @@ -126,7 +126,7 @@ public function __call($methodName, $parameters) */ if (is_array($result) && xmlrpc_is_fault($result)) { if ($this->debug) { - print "XML_RPC2_FaultException(${result['faultString']}, ${result['faultCode']})"; + print "XML_RPC2_FaultException({$result['faultString']}, {$result['faultCode']})"; } throw new XML_RPC2_FaultException($result['faultString'], $result['faultCode']); }