Bug #19909 [NEW]: This method should be static
| From: | robertvandell at comcast dot net | Date: | Tue, 23 Apr 2013 04:43:25 +0000 |
| Subject: | Bug #19909 [NEW]: This method should be static | ||
| Groups: | php.pear.doc php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-12208@lists.php.net to get a copy of this message | ||
From: #9ce5600e4e2292b54fb
Operating system: Ubuntu
Package version:
PHP version: 5.4.6
Package: Documentation
Bug Type: Bug
Bug description: This method should be static
Description:
------------
PHP Strict Standards: Non-static method PEAR::isError() should
not be called statically, assuming $this from incompatible context
in /usr/share/php/Mail/smtp.php on line 376
This is the majority of my error logs.
Test script:
---------------
<?php
PEAR::isError();
?>
Expected result:
----------------
No notices are thrown.
Actual result:
--------------
PHP Strict Standards: Non-static method PEAR::isError() should
not be called statically, assuming $this from incompatible context
in /usr/share/php/Mail/smtp.php on line 376
--
Edit bug report at https://pear.php.net/bugs/bug.php?id=19909&edit=1
--