Permalink
Browse files

Bug #17659 Assigning the return value of new by reference is deprecated

git-svn-id: http://svn.php.net/repository/pear/packages/SOAP/trunk@322276 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent f13fb7c commit 63e127e2e5d3cebcb9020aca591bb795ce85a6a8 @CloCkWeRX CloCkWeRX committed Jan 14, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 WSDL.php
View
@@ -211,7 +211,7 @@ function setService($service)
*/
function parseURL($wsdl_uri)
{
- $parser =& new $this->wsdlParserClass($wsdl_uri, $this, $this->docs);
+ $parser = new $this->wsdlParserClass($wsdl_uri, $this, $this->docs);
if ($parser->fault) {
$this->_raiseSoapFault($parser->fault);
@@ -797,7 +797,7 @@ function &getProxy($port = '', $name = '')
require_once 'SOAP/Client.php';
eval($proxy);
}
- $proxy =& new $classname;
+ $proxy = new $classname;
return $proxy;
}
@@ -1165,7 +1165,7 @@ class SOAP_WSDL_Parser extends SOAP_Base
function SOAP_WSDL_Parser($uri, &$wsdl, $docs = false)
{
parent::SOAP_Base('WSDLPARSER');
- $this->cache =& new SOAP_WSDL_Cache($wsdl->cacheUse,
+ $this->cache = new SOAP_WSDL_Cache($wsdl->cacheUse,
$wsdl->cacheMaxAge,
$wsdl->cacheDir);
$this->uri = $uri;
@@ -1696,7 +1696,7 @@ function startElement($parser, $name, $attrs)
$this->wsdl->imports[$uri] = $attrs;
$import_parser_class = get_class($this);
- $import_parser =& new $import_parser_class($uri, $this->wsdl, $this->docs);
+ $import_parser = new $import_parser_class($uri, $this->wsdl, $this->docs);
if ($import_parser->fault) {
unset($this->wsdl->imports[$uri]);
return false;

0 comments on commit 63e127e

Please sign in to comment.