Foo::test() is a static call.
In fact, parent::test() is a static call too. It works only, because PHP resolves $this as the caller, if a non static method is called statically.
Foo::test() is a static call.
In fact, parent::test() is a static call too. It works only, because PHP resolves $this as the caller, if a non static method is called statically.