public static function test() { echo get_class(new static()) . "\n"; TestC::test(); echo get_class(new static()) . "\n"; }