PEAR packages and PHP 5.4 strict standards
| From: | Martín Marqués | Date: | Thu, 22 Mar 2012 21:11:42 +0000 |
| Subject: | PEAR packages and PHP 5.4 strict standards | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31468@lists.php.net to get a copy of this message | ||
Just upgraded PHP to 5.4.0 and I started getting alot of warning
messages about things that don't stick to the PHP Strick Standards.
Basically, things like this:
PHP Strict Standards: Declaration of MDB2_Driver_Common::raiseError()
should be compatible with & PEAR::raiseError($message = NULL, $code =
NULL, $mode = NULL, $options = NULL, $userinfo = NULL, $error_class =
NULL, $skipmsg = false) in /usr/share/php/MDB2.php on line 990
PHP Strict Standards: Non-static method Date_TimeZone::isValidID()
should not be called statically in /usr/share/php/Date/TimeZone.php on
line 4717
PHP Strict Standards: Non-static method Date_TimeZone::setDefault()
should not be called statically in /usr/share/php/Date/TimeZone.php on
line 4718
PHP Strict Standards: Non-static method Date_TimeZone::isValidID()
should not be called statically in /usr/share/php/Date/TimeZone.php on
line 192
Is there a way to solve this? Where can I get documentation on this,
and how can it be solved? Better, in PEAR.
--
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador