Skip to content
This repository was archived by the owner on Sep 11, 2022. It is now read-only.

Commit 99224a7

Browse files
committed
Deprecated: Assigning the return value of new by reference is deprecated
1 parent 4f7ce40 commit 99224a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

excel_reader2.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,8 @@ function _format_value($format,$num,$f) {
913913
* Some basic initialisation
914914
*/
915915
function Spreadsheet_Excel_Reader($file='',$store_extended_info=true,$outputEncoding='') {
916-
$this->_ole =& new OLERead();
916+
$newOLE = new OLERead();
917+
$this->_ole =& $newOLE;
917918
$this->setUTFEncoder('iconv');
918919
if ($outputEncoding != '') {
919920
$this->setOutputEncoding($outputEncoding);

0 commit comments

Comments
 (0)