Fatal error: Uncaught Error: Non-static method Foo::bar() cannot be called statically in /in/nF760:8
Stack trace:
#0 {main}
thrown in /in/nF760 on line 8
Process exited with code 255.
Deprecated: Non-static method Foo::bar() should not be called statically in /in/nF760 on line 8
array(2) {
[0]=>
string(4) "test"
[1]=>
string(4) "this"
}
Strict Standards: Non-static method Foo::bar() should not be called statically in /in/nF760 on line 8
array(2) {
[0]=>
string(4) "test"
[1]=>
string(4) "this"
}