Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method DateTime::__construct() cannot be called statically in /in/hmk7X:4
Stack trace:
#0 {main}
thrown in /in/hmk7X on line 4
Process exited with code 255.
Output for 8.0.0 - 8.0.9
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($function) must be a valid callback, non-static method DateTime::__construct() cannot be called statically in /in/hmk7X:4
Stack trace:
#0 {main}
thrown in /in/hmk7X on line 4
Process exited with code 255.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, non-static method DateTime::__construct() cannot be called statically in /in/hmk7X on line 4
Fatal error: Uncaught Error: Call to a member function format() on null in /in/hmk7X:5
Stack trace:
#0 {main}
thrown in /in/hmk7X on line 5
Process exited with code 255.
Output for 5.6.0 - 5.6.38
Warning: call_user_func_array() expects parameter 1 to be a valid callback, non-static method DateTime::__construct() cannot be called statically in /in/hmk7X on line 4
Fatal error: Call to a member function format() on null in /in/hmk7X on line 5
Process exited with code 255.
Output for 5.5.0 - 5.5.38
Warning: call_user_func_array() expects parameter 1 to be a valid callback, non-static method DateTime::__construct() cannot be called statically in /in/hmk7X on line 4
Fatal error: Call to a member function format() on a non-object in /in/hmk7X on line 5
Process exited with code 255.