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  
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 : 10 - 1 = ?

 
 [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.