Bug #19656 [Com]: Assigning the return value of new by reference is deprecated

From: Date: Fri, 19 Oct 2012 01:09:07 +0000
Subject: Bug #19656 [Com]: Assigning the return value of new by reference is deprecated
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-9198@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19656&edit=1 ID: 19656 Comment by: redcore@gmail.com Reported By: redcore at gmail dot com Summary: Assigning the return value of new by reference is deprecated Status: Open Type: Bug Package: HTTP_Download Operating System: Mac/Linux Package Version: 1.1.4 PHP Version: 5.3.13 Roadmap Versions: New Comment: Simply removing the ampersand will resolve this issue. This also extends to the documentation sample code. Previous Comments: ------------------------------------------------------------------------ [2012-10-19 02:00:39] redcore 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 ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19656&edit=1

« previous php.pear.bugs (#9198) next »