When using something like
class MyClass
{
public static function myFunction()
{
static::myOtherFunction();
}
private static function myOtherFunction()
{
…
}
}
the PHP parser will complain
Parse error: syntax error, unexpected T_STATIC in ….php on line …
in older PHP versions. I couldn't find a reference though, what the minimum PHP version would be to use the static
keyword like that.