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

ID: 18820
Updated by: alec@alec.pl
Reported By: billg at nffs dot com
Summary: Fatal Error: Assigning the return value of new by
reference is deprecated
-Status: Open
+Status: Duplicate
Type: Bug
Package: Mail
Operating System: Debian Squeeze
Package Version: 1.2.0
PHP Version: 5.3.6
Roadmap Versions:
New Comment:

-Status: Open
+Status: Duplicate
It was already fixed in svn.


Previous Comments:
------------------------------------------------------------------------

[2011-09-09 17:18:39] billgnffs

Description:
------------
Even with ~E_DEPRECATED in php.ini, started getting this message on
2011-09-09 after months of not receiving any errors running the same
code.

Fatal Error: Assigning the return value of new by reference is
deprecated in /usr/share/php/Mail/smtp.php on line 349.

Removing the & from the following line (349) appears to fix it.

$this->_smtp = &new Net_SMTP($this->host,

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedSep 9, '11 at 4:55p
activeSep 9, '11 at 4:55p
posts1
users1
websitepear.php.net

1 user in discussion

Alec: 1 post

People

Translate

site design / logo © 2022 Grokbase