Fatal error: Uncaught TypeError: substr(): Argument #3 ($length) must be of type ?int, string given in /in/Zju9q:3
Stack trace:
#0 /in/Zju9q(3): substr('foo', 0, '')
#1 {main}
thrown in /in/Zju9q on line 3
Process exited with code 255.
Output for 7.3.12 - 7.3.33, 7.4.0 - 7.4.33
Warning: substr() expects parameter 3 to be int, string given in /in/Zju9q on line 3
NULL