A Static Method Cannot Call A Non Static Method

no-email (Damien Seguy), Damien Seguy
Tue, 16 Jan 2024 00:00:00 +0000

It is known that a non-static method can call a static method. It is less known that a static method cannot call a non-static method, even if the static syntax is possible.
A non-static method needs a value for ``$this``, which a static call doesn't provide.