Home » Mail » Mail_Mime » Bug #503
PEAR mime file causing Fatal Error (ref. bug 333) with PHP 5
Details
| Submitted | 2003-12-30 17:55 UTC |
|---|---|
| From | mike at goomzee dot com |
| Status | Bogus |
| Package | Mail_Mime |
| PHP Version | 5CVS-2003-12-30 (dev) |
| OS | Windows 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!