Fatal error: Uncaught TypeError: substr(): Argument #3 ($length) must be of type ?int, string given in /in/B3bqY:5
Stack trace:
#0 /in/B3bqY(5): substr('test/bild.jpg', 0, '')
#1 {main}
thrown in /in/B3bqY on line 5
Process exited with code 255.
Output for 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Warning: substr() expects parameter 3 to be int, string given in /in/B3bqY on line 5
Warning: substr() expects parameter 2 to be int, string given in /in/B3bqY on line 6
Notice: Undefined variable: newname in /in/B3bqY on line 7
folder: oldname: newname:
Output for 7.3.32 - 7.3.33
Warning: substr() expects parameter 3 to be int, string given in /in/B3bqY on line 5
Warning: substr() expects parameter 2 to be int, string given in /in/B3bqY on line 6
folder: oldname: newname:
Warning: substr() expects parameter 3 to be integer, string given in /in/B3bqY on line 5
Warning: substr() expects parameter 2 to be integer, string given in /in/B3bqY on line 6
Notice: Undefined variable: newname in /in/B3bqY on line 7
folder: oldname: newname:
Warning: substr() expects parameter 3 to be long, string given in /in/B3bqY on line 5
Warning: substr() expects parameter 2 to be long, string given in /in/B3bqY on line 6
Notice: Undefined variable: newname in /in/B3bqY on line 7
folder: oldname: newname: