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

Bug #16969 Deprecation warning
Submitted: 2010-01-05 14:21 UTC
From: borsuk Assigned: alec
Status: Closed Package: Mail (version 1.1.14)
PHP Version: 5.3.1 OS: Fedora 12
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


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 : 23 - 4 = ?

 
 [2010-01-05 14:21 UTC] borsuk (Michal Hricisin)
Description: ------------ In Fedora 12 there is PHP-5.3, where some functions and some constructions are marked as deprecated. At least one of them is used in Mail.php from pear, which fills my logs. I can't disable deprecation warnings on my server, so it's only possible to request a fix in rpm package. Sure, I can disable Deprecation warnings, but we need to fix our pages to do not report these, then this Warning is very disturbing. Test script: --------------- <?php include "Mail.php"; Expected result: ---------------- No Warning. Actual result: -------------- PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/pear/Mail.php on line 154,

Comments

 [2010-01-08 15:18 UTC] alec (Aleksander Machniak)
-Status: Open +Status: Closed -Assigned To: +Assigned To: alec
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.