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

Bug #19656 Assigning the return value of new by reference is deprecated
Submitted: 2012-10-19 06:00 UTC
From: redcore Assigned:
Status: Open Package: HTTP_Download (version 1.1.4)
PHP Version: 5.3.13 OS: Mac/Linux
Roadmaps: (Not assigned)    
Subscription  


 [2012-10-19 06:00 UTC] redcore (Dave Rogers)
Description: ------------ Getting this error in my logs on line 252 and 766. Test script: --------------- require_once('HTTP/Download.php'); Expected result: ---------------- Not get an error. Actual result: -------------- Assigning the return value of new by reference is deprecated on line 252 in /usr/share/pear/HTTP/Download.php

Comments

 [2012-10-19 06:09 UTC] redcore (Dave Rogers)
Simply removing the ampersand will resolve this issue. This also extends to the documentation sample code.