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

Bug #17848 XML_Serializer uses deprecated return new as reference
Submitted: 2010-09-06 20:09 UTC
From: zigo Assigned: zigo
Status: Closed Package: XML_Serializer (version 0.20.0)
PHP Version: 5.3.2 OS: Debian SID
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 29 - 10 = ?

 
 [2010-09-06 20:09 UTC] zigo (Thomas Goirand)
Description: ------------ Hi there! I've just uploaded to Debian a patched version of this PEAR package that corrects warnings: PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/XML/Unserializer.php on line 801 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/XML/Unserializer.php on line 804 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/XML/Unserializer.php on line 974 Trivial patch to fix this is attached. Your comments would be welcome. Thomas Goirand (zigo)

Comments

 [2010-09-06 20:12 UTC] zigo (Thomas Goirand)
 [2010-09-06 20:20 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback
Thank you for taking the time to report a problem with the package. This problem may have been already fixed by a previous change that is in the SVN of the package. Please checking out the SVN repository of this package and upgrade svn checkout svn.php.net/repository/pear/packages/XML_Serializer/trunk pear upgrade package2.xml or pear upgrade package.xml If you are able to reproduce the bug with the latest SVN, please change the status back to "Open". Again, thank you for your continued support of PEAR. Hey, thanks for the patch Thomas; but I think we already nabbed this particular one in SVN.
 [2010-09-06 20:22 UTC] doconnor (Daniel O'Connor)
-Status: Feedback +Status: Open
... or maybe not.
 [2010-09-06 20:23 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: zigo
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.