FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=19656&edit=1

ID: 19656
Comment by: redcore@gmail.com
Reported By: redcore@gmail.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

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 19, '12 at 1:09a
activeOct 19, '12 at 1:09a
posts1
users1
websitepear.php.net

1 user in discussion

Redcore: 1 post

People

Translate

site design / logo © 2022 Grokbase