Fatal error: Uncaught TypeError: doSomething(): Argument #1 ($param) must be of type callable, array given, called in /in/E0YJ3 on line 12 and defined in /in/E0YJ3:8
Stack trace:
#0 /in/E0YJ3(12): doSomething(Array)
#1 {main}
thrown in /in/E0YJ3 on line 8
Process exited with code 255.
Deprecated: Non-static method MyClass::doStuff() should not be called statically in /in/E0YJ3 on line 8
array(2) {
[0]=>
string(7) "MyClass"
[1]=>
string(7) "doStuff"
}
Strict Standards: Non-static method MyClass::doStuff() should not be called statically in /in/E0YJ3 on line 8
array(2) {
[0]=>
string(7) "MyClass"
[1]=>
string(7) "doStuff"
}