[Phpmyadmin-devel] Re: E_STRICT on PHP 5

Sebastian Mendel lists at sebastianmendel.de
Fri Dec 9 09:38:09 CET 2005


Michal Čihař schrieb:
> On Fri, 09 Dec 2005 17:48:27 +0100
> Sebastian Mendel <lists at 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.
>>>
>>>1.
>>>https://sourceforge.net/tracker/index.php?func=detail&aid=1377215&group_id=23067&atid=377408
>>
>>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

-- 
sebastian




More information about the Developers mailing list