Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/vK3cW on line 2
int(0)
Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /in/vK3cW:3
Stack trace:
#0 /in/vK3cW(3): date('d-m-Y', '2015-04-05')
#1 {main}
thrown in /in/vK3cW on line 3
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/vK3cW on line 2
int(0)
Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /in/vK3cW:3
Stack trace:
#0 /in/vK3cW(3): date('d-m-Y', '2015-04-05')
#1 {main}
thrown in /in/vK3cW on line 3
Process exited with code 255.
Output for 8.0.0 - 8.0.30
int(0)
Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /in/vK3cW:3
Stack trace:
#0 /in/vK3cW(3): date('d-m-Y', '2015-04-05')
#1 {main}
thrown in /in/vK3cW on line 3
Process exited with code 255.
int(0)
Notice: A non well formed numeric value encountered in /in/vK3cW on line 3
string(10) "01-01-1970"
Notice: A non well formed numeric value encountered in /in/vK3cW on line 5
string(10) "01-01-1970"