PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Mail » Mail_Mime » Bug #2113

Fatal error: Using $this when not in object context in /usr/local/lib/php/Mail/

Details

Submitted2004-08-11 23:07 UTC
Fromjer0me at free dot fr
Assignedsean
StatusClosed
PackageMail_Mime
PHP Version5.0.0
OSDebian linux
Roadmaps(Not assigned)

Comments

[2004-08-11 23:07 UTC] jer0me at free dot fr

Description:
------------
Fatal error: Using $this when not in object context in /usr/local/lib/php/Mail/mimeDecode.php on line 168

with:
$output = Mail_mimeDecode::decode($Params);

=> no fatal error with

$mail_mimedecode=new Mail_mimeDecode($input);
$output = $mail_mimedecode->decode($Params);

Same bug:
Bug #1563 Fatal error: Using $this when not in object context
Submitted: 2004-06-06 20:34
Status: Closed
Package: Mail
Version: 5.0.0RC2 (Release Candidate 2) OS: redhat-7.3