Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.4

Bug #18024 deprecated line 180, 186 with php 5.3.2
Submitted: 2010-11-02 15:29 UTC
From: kruchtem Assigned: doconnor
Status: Closed Package: Spreadsheet_Excel_Writer (version 0.9.2)
PHP Version: 5.3.2 OS: Debian Lenny 5
Roadmaps: (Not assigned)    
Subscription  


 [2010-11-02 15:29 UTC] kruchtem (Markus Kruchten)
Description: ------------ Deprecated: Assigning the return value of new by reference is deprecated in /usr/lib/php/Spreadsheet/Excel/Writer/Workbook.php on line 180 Deprecated: Assigning the return value of new by reference is deprecated in /usr/lib/php/Spreadsheet/Excel/Writer/Workbook.php on line 186 Test script: --------------- <?php require_once 'Spreadsheet/Excel/Writer.php'; $workbook = new Spreadsheet_Excel_Writer(); ?> Expected result: ---------------- normal I see nothing .. but the program function, bring no error Actual result: -------------- Deprecated: Assigning the return value of new by reference is deprecated in /usr/lib/php/Spreadsheet/Excel/Writer/Workbook.php on line 180 Deprecated: Assigning the return value of new by reference is deprecated in /usr/lib/php/Spreadsheet/Excel/Writer/Workbook.php on line 186

Comments

 [2011-06-22 12:56 UTC] gethera (Gilbert Thera)
 [2011-09-29 13:47 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Analyzed -Assigned To: +Assigned To: progi1984
Thanks for the patch guys. Progi; can you take a look and apply as needed?
 [2011-11-29 21:37 UTC] bdluk (Steve Hanselman)
Any chance we could get this applied to the tree? Saves manually patching after installation. Thanks.
 [2011-12-10 08:06 UTC] doconnor (Daniel O'Connor)
-Status: Analyzed +Status: Closed -Assigned To: progi1984 +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.