2 Incompatible context call (non-internal function)
7 function foo() { var_dump(get_class($this)); }
10 function bar() { A::foo(); }
15 } catch (Throwable $e) {
16 echo "Exception: " . $e->getMessage() . "\n";
20 Exception: Non-static method A::foo() cannot be called statically