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

ID: 17388
Updated by: alec@alec.pl
Reported By: jimmywarhammer at gmail dot com
Summary: E_STRICT violates with MailMime
Status: Open
Type: Bug
-Package: Mail_Mime
+Package: Mail
Operating System: Linux Centos 5.1
Package Version: 1.7.0
PHP Version: 5.2.6
Roadmap Versions:
New Comment:

-Package: Mail_Mime
+Package: Mail



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

[2010-05-11 13:10:53] jimmywar

Description:
------------
Error detected!
[2048] Assigning the return value of new by reference is deprecated
Fatal error on line 349 in file /usr/share/pear/PEAR/Mail/smtp.php



Test script:
---------------
include_once('Mail.php');
include_once('Mail/mime.php');
include_once('Mail/smtp.php');

Expected result:
----------------
No warning

Actual result:
--------------
Warning on line 349

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

Search Discussions

  • Alec at May 11, 2010 at 12:33 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=17388&edit=1

    ID: 17388
    Updated by: alec@alec.pl
    Reported By: jimmywarhammer at gmail dot com
    -Summary: E_STRICT violates with MailMime
    +Summary: Deprecated assigning the return value of new by
    reference
    Status: Open
    Type: Bug
    Package: Mail
    Operating System: Linux Centos 5.1
    PHP Version: 5.2.6
    Roadmap Versions:
    New Comment:

    -Summary: E_STRICT violates with MailMime
    +Summary: Deprecated assigning the return value of new by
    reference



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

    [2010-05-11 13:25:49] alec

    -Package: Mail_Mime
    +Package: Mail


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

    [2010-05-11 13:10:53] jimmywar

    Description:
    ------------
    Error detected!
    [2048] Assigning the return value of new by reference is deprecated
    Fatal error on line 349 in file /usr/share/pear/PEAR/Mail/smtp.php



    Test script:
    ---------------
    include_once('Mail.php');
    include_once('Mail/mime.php');
    include_once('Mail/smtp.php');

    Expected result:
    ----------------
    No warning

    Actual result:
    --------------
    Warning on line 349

    ------------------------------------------------------------------------
  • Cweiske at May 11, 2010 at 12:34 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=17388&edit=1

    ID: 17388
    Updated by: cweiske@php.net
    Reported By: jimmywarhammer at gmail dot com
    Summary: Deprecated assigning the return value of new by
    reference
    Status: Open
    Type: Bug
    Package: Mail
    Operating System: Linux Centos 5.1
    PHP Version: 5.2.6
    Roadmap Versions:
    New Comment:

    This is something that cannot be fixed when PHP4 compatibilty shall be
    kept.


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

    [2010-05-11 13:27:15] alec

    -Summary: E_STRICT violates with MailMime
    +Summary: Deprecated assigning the return value of new by
    reference


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

    [2010-05-11 13:25:49] alec

    -Package: Mail_Mime
    +Package: Mail


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

    [2010-05-11 13:10:53] jimmywar

    Description:
    ------------
    Error detected!
    [2048] Assigning the return value of new by reference is deprecated
    Fatal error on line 349 in file /usr/share/pear/PEAR/Mail/smtp.php



    Test script:
    ---------------
    include_once('Mail.php');
    include_once('Mail/mime.php');
    include_once('Mail/smtp.php');

    Expected result:
    ----------------
    No warning

    Actual result:
    --------------
    Warning on line 349

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMay 11, '10 at 12:32p
activeMay 11, '10 at 12:34p
posts3
users2
websitepear.php.net

2 users in discussion

Alec: 2 posts Cweiske: 1 post

People

Translate

site design / logo © 2021 Grokbase