Fatal error: Uncaught TypeError: substr(): Argument #2 ($offset) must be of type int, string given in /in/7sfgp:2
Stack trace:
#0 /in/7sfgp(2): substr('abc', '')
#1 {main}
thrown in /in/7sfgp on line 2
Process exited with code 255.
Output for 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Warning: substr() expects parameter 2 to be int, string given in /in/7sfgp on line 2
NULL
Notice: A non well formed numeric value encountered in /in/7sfgp on line 3
string(3) "abc"
string(3) "abc"
string(3) "abc"
Output for 7.3.32 - 7.3.33
Warning: substr() expects parameter 2 to be int, string given in /in/7sfgp on line 2
NULL
string(3) "abc"
string(3) "abc"
string(3) "abc"
Warning: substr() expects parameter 2 to be integer, string given in /in/7sfgp on line 2
NULL
Notice: A non well formed numeric value encountered in /in/7sfgp on line 3
string(3) "abc"
string(3) "abc"
string(3) "abc"
Warning: substr() expects parameter 2 to be long, string given in /in/7sfgp on line 2
NULL
Notice: A non well formed numeric value encountered in /in/7sfgp on line 3
string(3) "abc"
string(3) "abc"
string(3) "abc"