[PEAR-BUG] Bug #18621 [Opn->Dup]: Deprecated function

[email protected]
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=18621&edit=1

 ID:               18621
 Updated by:       [email protected]
 Reported By:      gilbert at proactive dot nl
 Summary:          Deprecated function
-Status:           Open
+Status:           Duplicate
 Type:             Bug
 Package:          Spreadsheet_Excel_Writer
 Operating System: Ubuntu
 Package Version:  0.9.2
 PHP Version:      5.3.6
 Roadmap Versions: 
 New Comment:

-Status: Open
+Status: Duplicate
Bug #18024


Previous Comments:
------------------------------------------------------------------------

[2011-06-21 14:35:45] gethera

Description:
------------
The constructor of Spreadsheet_Excel_Writer_Workbook contains 
2 lines that try to assign the return value of new by reference. 
This is deprecated.


Test script:
---------------
Spreadsheet_Excel_Writer_Workbook("test");

Expected result:
----------------
Initiation of the Spreadsheet_Excel_Writer_Workbook object

Actual result:
--------------
Assigning the return value of new by reference is deprecated in 
/usr/local/lib/php/Spreadsheet/Excel/Writer/Workbook.php on 
line 180 

Assigning the return value of new by reference is deprecated in 
/usr/local/lib/php/Spreadsheet/Excel/Writer/Workbook.php on 
line 189

------------------------------------------------------------------------


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=18621&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.