Warning: Undefined variable $date in /in/O2q2g on line 8
Deprecated: date_create_from_format(): Passing null to parameter #2 ($datetime) of type string is deprecated in /in/O2q2g on line 8
Fatal error: Uncaught TypeError: date_format(): Argument #1 ($object) must be of type DateTimeInterface, false given in /in/O2q2g:9
Stack trace:
#0 /in/O2q2g(9): date_format(false, 'd/m/Y H:i')
#1 /in/O2q2g(12): converteData('d/m/Y', 'd/m/Y H:i', '06/11/1992')
#2 {main}
thrown in /in/O2q2g on line 9
Process exited with code 255.
Output for 8.1.0 - 8.1.27, 8.2.0 - 8.2.17
Warning: Undefined variable $date in /in/O2q2g on line 8
Deprecated: date_create_from_format(): Passing null to parameter #2 ($datetime) of type string is deprecated in /in/O2q2g on line 8
Fatal error: Uncaught TypeError: date_format(): Argument #1 ($object) must be of type DateTimeInterface, bool given in /in/O2q2g:9
Stack trace:
#0 /in/O2q2g(9): date_format(false, 'd/m/Y H:i')
#1 /in/O2q2g(12): converteData('d/m/Y', 'd/m/Y H:i', '06/11/1992')
#2 {main}
thrown in /in/O2q2g on line 9
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Warning: Undefined variable $date in /in/O2q2g on line 8
Fatal error: Uncaught TypeError: date_format(): Argument #1 ($object) must be of type DateTimeInterface, bool given in /in/O2q2g:9
Stack trace:
#0 /in/O2q2g(9): date_format(false, 'd/m/Y H:i')
#1 /in/O2q2g(12): converteData('d/m/Y', 'd/m/Y H:i', '06/11/1992')
#2 {main}
thrown in /in/O2q2g on line 9
Process exited with code 255.
Output for 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Notice: Undefined variable: date in /in/O2q2g on line 8
Warning: date_format() expects parameter 1 to be DateTimeInterface, bool given in /in/O2q2g on line 9
bool(false)
Output for 7.3.32 - 7.3.33
Warning: date_format() expects parameter 1 to be DateTimeInterface, bool given in /in/O2q2g on line 9
bool(false)
Notice: Undefined variable: date in /in/O2q2g on line 8
Warning: date_format() expects parameter 1 to be DateTimeInterface, boolean given in /in/O2q2g on line 9
bool(false)
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45
Notice: Undefined variable: date in /in/O2q2g on line 8
Warning: date_format() expects parameter 1 to be DateTime, boolean given in /in/O2q2g on line 9
bool(false)
Output for 5.2.0 - 5.2.17
Fatal error: Call to undefined function date_create_from_format() in /in/O2q2g on line 8
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Fatal error: Class 'DateTimeZone' not found in /in/O2q2g on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetimezone in /in/O2q2g on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: datetimezone in /in/O2q2g on line 5