Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.12

Bug #333 Only variables or references can be returned by reference
Submitted: 2003-12-01 09:43 UTC
From: jfl at eksperten dot dk Assigned:
Status: Bogus Package: Mail_Mime
PHP Version: 5.0.0b2 (beta2) OS: Fedora Core 1
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2004-12-08 18:24 UTC
Package:
Bug Type:
Summary:
From: jfl at eksperten dot dk
New email:
PHP Version: Package Version: OS:

 

 [2003-12-01 09:43 UTC] jfl at eksperten dot dk
Description: ------------ Fatal error: Only variables or references can be returned by reference in /usr/local/lib/php/Mail/mime.php on line 306

Comments

 [2003-12-01 09:49 UTC] jfl at eksperten dot dk
<?php require('Mail/mime.php'); $mime = new Mail_mime("\n"); $mime->setHTMLBody('test'); $body = $mime->get(); ?>
 [2004-02-16 09:12 UTC] lsmith
this was a PHP5 bug which should be fixed in the recent PHP5 beta3 or 4 (dont remember which one exactly)
 [2004-12-08 18:24 UTC] sean
Thank you for taking the time to report a problem with the package. Unfortunately you are not using a current version of the package -- the problem might already be fixed. Please download a new version from http://pear.php.net/packages.php If you are able to reproduce the bug with one of the latest versions, please change the package version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PEAR. Fixed in PHP 5.