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_Queue » Bug #2537

Compatibility with PHP5

Details

Submitted2004-10-15 15:01 UTC
Fromsylvain at com-ocean dot com
Assignedquipo
StatusDuplicate
PackageMail_Queue
PHP Version5.0.2
OSLinux
Roadmaps(Not assigned)

Comments

[2004-10-15 15:01 UTC] sylvain at com-ocean dot com

Description:
------------
Mail_Queue isn't compatible with PHP5 :
The class Mail_Queue_Body has a function named try() which is used by PHP5 for exception.
The container class : db, mdb, mdb2 use this function one time for each.

[2004-11-03 10:42 UTC] woutermonkhorst at gmail dot com

I have the same problem! (PHP5.02 winXP)I found a closed bug on this topic (august2004), but the method has not been renamed yet!

Parse error: syntax error, unexpected T_TRY, expecting T_STRING in C:\PHP\PEAR\pear\Mail\Queue\Body.php on line 330

You better be quick in fixing this bug since PHP magazine has an article about Mail:Queue.