Fatal error: Uncaught DateObjectError: Object of type DateTime has not been correctly initialized by calling parent::__construct() in its constructor in /in/gTB2s:5
Stack trace:
#0 /in/gTB2s(5): DateTime->format('r')
#1 {main}
thrown in /in/gTB2s on line 5
Process exited with code 255.
Fatal error: Uncaught Error: The DateTime object has not been correctly initialized by its constructor in /in/gTB2s:5
Stack trace:
#0 /in/gTB2s(5): DateTime->format('r')
#1 {main}
thrown in /in/gTB2s on line 5
Process exited with code 255.
Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in /in/gTB2s on line 5
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35
Fatal error: Uncaught exception 'ReflectionException' with message 'Class DateTime is an internal class that cannot be instantiated without invoking its constructor' in /in/gTB2s:3
Stack trace:
#0 /in/gTB2s(3): ReflectionClass->newInstanceWithoutConstructor()
#1 {main}
thrown in /in/gTB2s on line 3
Process exited with code 255.