FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=9950&edit=1

ID: 9950
Comment by: clee
Reported By: clee at fieldtripfactory dot com
Summary: PHP Strict errors even with E_STRICT Disabled
Status: Bogus
Type: Bug
Package: Mail
Operating System: Centos
PHP Version: 5.2.0
New Comment:

Again, I'd like to echo other people here. I've disabled all error
reporting, and yet the script is still failing out on the mentioned
issues. Any workarounds?


Previous Comments:
------------------------------------------------------------------------

[2010-10-01 20:09:10] recurse

Any updates on this issues? I'm having the same problem.

E_STRICT is *disabled* and I'm still getting the error described.

------------------------------------------------------------------------

[2010-06-29 10:00:20] amcnaughton

There seems to be some confusion here. This bug report is not about the
issues which the warnings are about. It is about those warnings being
generated despite error_reporting() being set to a level where those
errors should not be reported.

------------------------------------------------------------------------

[2009-11-13 14:33:02] qtx

In the line 161 of the file Mail.php, the is a call

$parser = new Mail_RFC822();
$addresses = $parser->parseAddressList($value, 'localhost', false);

It is correct. But in the line 228

$addresses = Mail_RFC822::parseAddressList($value, 'localhost', false);

It produces warnings. I corrected it like the first example, now it
works.

------------------------------------------------------------------------

[2009-11-13 14:24:38] cweiske
But it looks like that the developer of the Mail package does not
understand what are static methods.
You don't understand PHP4 compatibility.

------------------------------------------------------------------------

[2009-11-13 14:15:29] qtx

Well, it is really pity.

But it looks like that the developer of the Mail package does not
understand what are static methods.

He calls many times in his code

PEAR::isError

although the method isError is not static.

He declares the method parseAddressList of the class Mail_RFC822 as
normal but tries to call it statically in Mail.php.

The developer of the Mail should correct this in the Mail package.

Neither PHP nore PEAR are responsible for this bug.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=9950

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedNov 22, '10 at 3:34p
activeNov 22, '10 at 3:34p
posts1
users1
websitepear.php.net

1 user in discussion

Clee: 1 post

People

Translate

site design / logo © 2021 Grokbase