diff --git a/htdocs/includes/fpdf/fpdfi/pdf_parser.php b/htdocs/includes/fpdf/fpdfi/pdf_parser.php index 6d9be39778e..7911436ae9b 100644 --- a/htdocs/includes/fpdf/fpdfi/pdf_parser.php +++ b/htdocs/includes/fpdf/fpdfi/pdf_parser.php @@ -100,7 +100,7 @@ class pdf_parser { $this->getPDFVersion(); - $this->c =& new pdf_context($this->f); + $this->c = new pdf_context($this->f); // Read xref-Data $this->pdf_read_xref($this->xref, $this->pdf_find_xref()); @@ -426,7 +426,7 @@ class pdf_parser { $e++; if ($this->actual_obj[1][1]['/Length'][0] == PDF_TYPE_OBJREF) { - $tmp_c =& new pdf_context($this->f); + $tmp_c = new pdf_context($this->f); $tmp_length = $this->pdf_resolve_object($tmp_c,$this->actual_obj[1][1]['/Length']); $length = $tmp_length[1][1]; } else { diff --git a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php index 0f6831b2c3d..7c7ad6d27c8 100644 --- a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php @@ -382,7 +382,7 @@ class pdf_propale_azur extends ModelePDFPropales @chmod($file, octdec($conf->global->MAIN_UMASK)); // Add external file - //$pdfConcat =& new concat_pdf(); + //$pdfConcat = new concat_pdf(); //$pdfConcat->setFiles(array($file, DOL_DOCUMENT_ROOT."/includes/modules/propale/morefile.pdf")); //$pdfConcat->concat(); //$pdf->AliasNbPages(); diff --git a/htdocs/includes/nusoap/lib/class.soapclient.php b/htdocs/includes/nusoap/lib/class.soapclient.php index 3fe15fad6e2..0c30d971b61 100644 --- a/htdocs/includes/nusoap/lib/class.soapclient.php +++ b/htdocs/includes/nusoap/lib/class.soapclient.php @@ -362,7 +362,7 @@ class nusoap_client extends nusoap_base { */ function loadWSDL() { $this->debug('instantiating wsdl class with doc: '.$this->wsdlFile); - $this->wsdl =& new wsdl('',$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout,$this->curl_options,$this->use_curl); + $this->wsdl = new wsdl('',$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout,$this->curl_options,$this->use_curl); $this->wsdl->setCredentials($this->username, $this->password, $this->authtype, $this->certRequest); $this->wsdl->fetchWSDL($this->wsdlFile); $this->checkWSDL(); diff --git a/htdocs/includes/nusoap/lib/nusoap.php b/htdocs/includes/nusoap/lib/nusoap.php index 6cb65e8f6dd..f03784fd0cd 100644 --- a/htdocs/includes/nusoap/lib/nusoap.php +++ b/htdocs/includes/nusoap/lib/nusoap.php @@ -7378,7 +7378,7 @@ class nusoap_client extends nusoap_base { */ function loadWSDL() { $this->debug('instantiating wsdl class with doc: '.$this->wsdlFile); - $this->wsdl =& new wsdl('',$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout,$this->curl_options,$this->use_curl); + $this->wsdl = new wsdl('',$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout,$this->curl_options,$this->use_curl); $this->wsdl->setCredentials($this->username, $this->password, $this->authtype, $this->certRequest); $this->wsdl->fetchWSDL($this->wsdlFile); $this->checkWSDL(); diff --git a/htdocs/includes/nusoap/lib/nusoapmime.php b/htdocs/includes/nusoap/lib/nusoapmime.php index 1e6942de79a..6c2adde4361 100644 --- a/htdocs/includes/nusoap/lib/nusoapmime.php +++ b/htdocs/includes/nusoap/lib/nusoapmime.php @@ -133,7 +133,7 @@ class nusoap_client_mime extends nusoap_client { function getHTTPBody($soapmsg) { if (count($this->requestAttachments) > 0) { $params['content_type'] = 'multipart/related; type="text/xml"'; - $mimeMessage =& new Mail_mimePart('', $params); + $mimeMessage = new Mail_mimePart('', $params); unset($params); $params['content_type'] = 'text/xml'; @@ -363,7 +363,7 @@ class nusoap_server_mime extends nusoap_server { function getHTTPBody($soapmsg) { if (count($this->responseAttachments) > 0) { $params['content_type'] = 'multipart/related; type="text/xml"'; - $mimeMessage =& new Mail_mimePart('', $params); + $mimeMessage = new Mail_mimePart('', $params); unset($params); $params['content_type'] = 'text/xml'; diff --git a/htdocs/includes/php_excelreader/excel_reader2.php b/htdocs/includes/php_excelreader/excel_reader2.php index 2d2c70eeb93..ff6f667549c 100644 --- a/htdocs/includes/php_excelreader/excel_reader2.php +++ b/htdocs/includes/php_excelreader/excel_reader2.php @@ -913,7 +913,7 @@ class Spreadsheet_Excel_Reader { * Some basic initialisation */ function Spreadsheet_Excel_Reader($file='',$store_extended_info=true,$outputEncoding='') { - $this->_ole =& new OLERead(); + $this->_ole = new OLERead(); $this->setUTFEncoder('iconv'); if ($outputEncoding != '') { $this->setOutputEncoding($outputEncoding); diff --git a/htdocs/includes/php_writeexcel/class.writeexcel_workbook.inc.php b/htdocs/includes/php_writeexcel/class.writeexcel_workbook.inc.php index 76f5da919b9..afc60c7cadf 100644 --- a/htdocs/includes/php_writeexcel/class.writeexcel_workbook.inc.php +++ b/htdocs/includes/php_writeexcel/class.writeexcel_workbook.inc.php @@ -167,7 +167,7 @@ function &addworksheet($name="") { } } - $worksheet =& new writeexcel_worksheet($name, $index, $this->_activesheet, + $worksheet = new writeexcel_worksheet($name, $index, $this->_activesheet, $this->_firstsheet, $this->_url_format, $this->_parser, $this->_tempdir); @@ -187,9 +187,9 @@ function &addworksheet($name="") { # function &addformat($para=false) { if($para===false) { - $format =& new writeexcel_format($this->_xf_index); + $format = new writeexcel_format($this->_xf_index); } else { - $format =& new writeexcel_format($this->_xf_index, $para); + $format = new writeexcel_format($this->_xf_index, $para); } $this->_xf_index += 1; diff --git a/htdocs/oscommerce_ws/ws_server/lib/class.soapclient.php b/htdocs/oscommerce_ws/ws_server/lib/class.soapclient.php index 3fe15fad6e2..0c30d971b61 100644 --- a/htdocs/oscommerce_ws/ws_server/lib/class.soapclient.php +++ b/htdocs/oscommerce_ws/ws_server/lib/class.soapclient.php @@ -362,7 +362,7 @@ class nusoap_client extends nusoap_base { */ function loadWSDL() { $this->debug('instantiating wsdl class with doc: '.$this->wsdlFile); - $this->wsdl =& new wsdl('',$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout,$this->curl_options,$this->use_curl); + $this->wsdl = new wsdl('',$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout,$this->curl_options,$this->use_curl); $this->wsdl->setCredentials($this->username, $this->password, $this->authtype, $this->certRequest); $this->wsdl->fetchWSDL($this->wsdlFile); $this->checkWSDL(); diff --git a/htdocs/oscommerce_ws/ws_server/lib/nusoap.php b/htdocs/oscommerce_ws/ws_server/lib/nusoap.php index 6cb65e8f6dd..f03784fd0cd 100644 --- a/htdocs/oscommerce_ws/ws_server/lib/nusoap.php +++ b/htdocs/oscommerce_ws/ws_server/lib/nusoap.php @@ -7378,7 +7378,7 @@ class nusoap_client extends nusoap_base { */ function loadWSDL() { $this->debug('instantiating wsdl class with doc: '.$this->wsdlFile); - $this->wsdl =& new wsdl('',$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout,$this->curl_options,$this->use_curl); + $this->wsdl = new wsdl('',$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout,$this->curl_options,$this->use_curl); $this->wsdl->setCredentials($this->username, $this->password, $this->authtype, $this->certRequest); $this->wsdl->fetchWSDL($this->wsdlFile); $this->checkWSDL(); diff --git a/htdocs/oscommerce_ws/ws_server/lib/nusoapmime.php b/htdocs/oscommerce_ws/ws_server/lib/nusoapmime.php index 1e6942de79a..6c2adde4361 100644 --- a/htdocs/oscommerce_ws/ws_server/lib/nusoapmime.php +++ b/htdocs/oscommerce_ws/ws_server/lib/nusoapmime.php @@ -133,7 +133,7 @@ class nusoap_client_mime extends nusoap_client { function getHTTPBody($soapmsg) { if (count($this->requestAttachments) > 0) { $params['content_type'] = 'multipart/related; type="text/xml"'; - $mimeMessage =& new Mail_mimePart('', $params); + $mimeMessage = new Mail_mimePart('', $params); unset($params); $params['content_type'] = 'text/xml'; @@ -363,7 +363,7 @@ class nusoap_server_mime extends nusoap_server { function getHTTPBody($soapmsg) { if (count($this->responseAttachments) > 0) { $params['content_type'] = 'multipart/related; type="text/xml"'; - $mimeMessage =& new Mail_mimePart('', $params); + $mimeMessage = new Mail_mimePart('', $params); unset($params); $params['content_type'] = 'text/xml';