For code to pass E_STRICT in php5, a static method in an object needs the "static" keyword:
class something {
static function something ($params) {
// some code here
}
}
If the keyword is missing, an error is thrown. However, the same keyword in php4 throws an error ("unexpected T_STATIC...").
Is there a way to code this method so that it plays nicely in both php4 and php5 without having two sets of code?