PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Mail » Mail » Bug #9701

PHP 5 Compatible Issues

Details

Submitted2006-12-27 21:20 UTC
Frombusby at edoceo dot com
Assignedchagenbu
StatusBogus
PackageMail
PHP Version5.1.6
OSGentoo GNU/Linux
Roadmaps(Not assigned)

Comments

[2006-12-27 21:20 UTC] busby at edoceo dot com

Description:
------------
It seems that some of the functions and such are using references which make PHP5 angry, get errors about references being deprecated

Test script:
---------------
http://www.edoceo.com/creo/patches/pearmail.php

Expected result:
----------------
I want sooo bad for this work with my system on PHP5

Actual result:
--------------
Errors about deprecated interfaces.

Thanks for the great work!

[2006-12-27 21:22 UTC] chagenbu at php dot net

Thank you for taking the time to write to us, but this is not
a bug.

This is not a bug. If we made those changes, Mail wouldn't work at _all_ with PHP 4, which is not acceptable for existing packages. If someone makes a compatibility-breaking version of Mail in the future, everything like that will be done. What you need to do is just turn off E_STRICT.