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_Mime » Bug #503

PEAR mime file causing Fatal Error (ref. bug 333) with PHP 5

Details

Submitted2003-12-30 17:55 UTC
Frommike at goomzee dot com
StatusBogus
PackageMail_Mime
PHP Version5CVS-2003-12-30 (dev)
OSWindows Server 2003
Roadmaps(Not assigned)

Comments

[2003-12-30 17:55 UTC] mike at goomzee dot com

Description:
------------
Fatal error: Only variables or references can be returned
by reference in X:\PEAR\Mail\mime.php line 257

I rewrote the mime.php functions adding the $ret = '' and assigning it to the reference, returning $ret. This fixed my client's broken PHP application and emails are sending properly.

I have uploaded the new PEAR mime.php file to the following address:

http://www.goomzee.com/downloads/mime.zip

Regards,

Mike Sparr
Top Nerd

Goomzee Web Services
http://www.goomzee.com
--
RSI Global
http://www.rsiglobal.com

Expected result:
----------------
PHP Version:
pre-version 5 = No errors
version 5 = Fatal Error!