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

ID: 9950
Comment by: julisana
Reported By: lisa at linkup 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:

Yep, I'm having the same issue. All error reporting is disabled and yet
I still get a page full of PHP Strict Standards when I try and use
PEAR's Mail package.


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

[2010-11-22 16:34:33] clee

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?

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

[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.

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

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
postedFeb 10, '11 at 9:39p
activeFeb 10, '11 at 9:39p
posts1
users1
websitepear.php.net

1 user in discussion

Julisana: 1 post

People

Translate

site design / logo © 2021 Grokbase