Warning: Cannot bind method Foo::someMethod() to object of class Bar in /in/KjaMD on line 18
Foo
Fatal error: Uncaught Error: Value of type null is not callable in /in/KjaMD:21
Stack trace:
#0 {main}
thrown in /in/KjaMD on line 21
Process exited with code 255.
Warning: Cannot bind method Foo::someMethod() to object of class Bar in /in/KjaMD on line 18
Foo
Fatal error: Uncaught Error: Function name must be a string in /in/KjaMD:21
Stack trace:
#0 {main}
thrown in /in/KjaMD on line 21
Process exited with code 255.
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /in/KjaMD on line 5
Process exited with code 255.