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

Bug #17135 Deprecated use of new and reference
Submitted: 2010-02-18 21:59 UTC
From: ktyler Assigned: doconnor
Status: Closed Package: Net_POP3 (version 1.3.7)
PHP Version: 5.3.1 OS:
Roadmaps: (Not assigned)    

 [2010-02-18 21:59 UTC] ktyler (Keith Tyler)
Description: ------------ Under PHP 5.3.* use of Net/POP3 generates a deprecation warning on use of reference assignment with "new". Offending line is: $this->_socket =& new Net_Socket(); Test script: --------------- include("Net/POP3.php"); Expected result: ---------------- No deprecation warnings Actual result: -------------- Deprecated: Assigning the return value of new by reference is deprecated in C:\PHP\PEAR\Net\POP3.php on line 156


 [2010-02-19 03:02 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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.