array(3) {
[0]=>
int(3)
[1]=>
int(4)
[2]=>
int(5)
}
Fatal error: Uncaught TypeError: array_slice(): Argument #2 ($offset) must be of type int, string given in /in/V4jb2:5
Stack trace:
#0 /in/V4jb2(5): array_slice(Array, 'string')
#1 {main}
thrown in /in/V4jb2 on line 5
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
array(3) {
[0]=>
int(3)
[1]=>
int(4)
[2]=>
int(5)
}
Warning: array_slice() expects parameter 2 to be int, string given in /in/V4jb2 on line 5
NULL