Fatal error: Uncaught TypeError: {closure:/in/0Nc7d:11}(): Argument #1 ($element) must be of type int, string given, called in /in/0Nc7d on line 7 and defined in /in/0Nc7d:11
Stack trace:
#0 /in/0Nc7d(7): {closure:/in/0Nc7d:11}('12')
#1 /in/0Nc7d(11): my_array_walk(Array, Object(Closure))
#2 {main}
thrown in /in/0Nc7d on line 11
Process exited with code 255.
Fatal error: Uncaught TypeError: {closure}(): Argument #1 ($element) must be of type int, string given, called in /in/0Nc7d on line 7 and defined in /in/0Nc7d:11
Stack trace:
#0 /in/0Nc7d(7): {closure}('12')
#1 /in/0Nc7d(11): my_array_walk(Array, Object(Closure))
#2 {main}
thrown in /in/0Nc7d on line 11
Process exited with code 255.
Output for 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught TypeError: Argument 1 passed to {closure}() must be of the type int, string given, called in /in/0Nc7d on line 7 and defined in /in/0Nc7d:11
Stack trace:
#0 /in/0Nc7d(7): {closure}('12')
#1 /in/0Nc7d(11): my_array_walk(Array, Object(Closure))
#2 {main}
thrown in /in/0Nc7d on line 11
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to {closure}() must be of the type integer, string given, called in /in/0Nc7d on line 7 and defined in /in/0Nc7d:11
Stack trace:
#0 /in/0Nc7d(7): {closure}('12')
#1 /in/0Nc7d(11): my_array_walk(Array, Object(Closure))
#2 {main}
thrown in /in/0Nc7d on line 11
Process exited with code 255.
Output for 5.5.0 - 5.5.37, 5.6.0 - 5.6.28
Warning: Unsupported declare 'strict_types' in /in/0Nc7d on line 3
Catchable fatal error: Argument 1 passed to {closure}() must be an instance of int, string given, called in /in/0Nc7d on line 7 and defined in /in/0Nc7d on line 11
Process exited with code 255.