soy a
Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, non-static method A::a() cannot be called statically in /in/VjRTe:16
Stack trace:
#0 {main}
thrown in /in/VjRTe on line 16
Process exited with code 255.
Output for 8.0.0 - 8.0.9
soy a
Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($function) must be a valid callback, non-static method A::a() cannot be called statically in /in/VjRTe:16
Stack trace:
#0 {main}
thrown in /in/VjRTe on line 16
Process exited with code 255.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; A has a deprecated constructor in /in/VjRTe on line 3
soy a
Warning: call_user_func() expects parameter 1 to be a valid callback, non-static method A::a() cannot be called statically in /in/VjRTe on line 16
soy a
Warning: call_user_func() expects parameter 1 to be a valid callback, non-static method A::a() cannot be called statically in /in/VjRTe on line 16