Hi all
I already filed bug on this [1], but I thing that all of us should enable E_STRICT reporting in php.ini to catch those errors while writing code. So please set error_reporting = E_ALL | E_STRICT in your php.ini.
1. https://sourceforge.net/tracker/index.php?func=detail&aid=1377215&gr...
Michal Čihař schrieb:
Hi all
I already filed bug on this [1], but I thing that all of us should enable E_STRICT reporting in php.ini to catch those errors while writing code. So please set error_reporting = E_ALL | E_STRICT in your php.ini.
normally i have this on, but with all this 'var is deprecated' messages its more liekly to oversee the more important notices/warnings/errors ...
https://sourceforge.net/tracker/index.php?func=detail&aid=1377215&gr...
Michal Čihař schrieb:
Hi all
I already filed bug on this [1], but I thing that all of us should enable E_STRICT reporting in php.ini to catch those errors while writing code. So please set error_reporting = E_ALL | E_STRICT in your php.ini.
https://sourceforge.net/tracker/index.php?func=detail&aid=1377215&gr...
this errors cant be fixed, as long as we use same source for PHP 4 and 5
On Fri, 09 Dec 2005 17:48:27 +0100 Sebastian Mendel lists@sebastianmendel.de wrote:
Michal Čihař schrieb:
Hi all
I already filed bug on this [1], but I thing that all of us should enable E_STRICT reporting in php.ini to catch those errors while writing code. So please set error_reporting = E_ALL | E_STRICT in your php.ini.
https://sourceforge.net/tracker/index.php?func=detail&aid=1377215&gr...
this errors cant be fixed, as long as we use same source for PHP 4 and 5
Oh, I never used classes in PHP, is there so big difference?
But at least those "Non-static method blah should not be called statically" IMHO should be fixable.
Michal Čihař schrieb:
On Fri, 09 Dec 2005 17:48:27 +0100 Sebastian Mendel lists@sebastianmendel.de wrote:
Michal Čihař schrieb:
Hi all
I already filed bug on this [1], but I thing that all of us should enable E_STRICT reporting in php.ini to catch those errors while writing code. So please set error_reporting = E_ALL | E_STRICT in your php.ini.
https://sourceforge.net/tracker/index.php?func=detail&aid=1377215&gr...
this errors cant be fixed, as long as we use same source for PHP 4 and 5
Oh, I never used classes in PHP, is there so big difference?
But at least those "Non-static method blah should not be called statically" IMHO should be fixable.
no, IMO
to define a method static in PHP 5:
static function myMethod() {...}
what is not valid in PHP 4