int(6)
Fatal error: Uncaught TypeError: {closure}(): Argument #1 ($int) must be of type int, string given in /in/TRTF9:5
Stack trace:
#0 [internal function]: {closure}('three', 2)
#1 /in/TRTF9(5): array_walk(Array, Object(Closure))
#2 /in/TRTF9(14): sum(Array)
#3 {main}
thrown in /in/TRTF9 on line 5
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
int(6)
Fatal error: Uncaught TypeError: {closure}(): Argument #1 ($int) must be of type int, string given in /in/TRTF9:5
Stack trace:
#0 [internal function]: {closure}('three', 2)
#1 /in/TRTF9(5): array_walk(Array, Object(Closure))
#2 /in/TRTF9(14): sum(Array)
#3 {main}
thrown in /in/TRTF9 on line 5
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
int(6)
Fatal error: Uncaught TypeError: Argument 1 passed to {closure}() must be of the type int, string given in /in/TRTF9:5
Stack trace:
#0 [internal function]: {closure}('three', 2)
#1 /in/TRTF9(5): array_walk(Array, Object(Closure))
#2 /in/TRTF9(14): sum(Array)
#3 {main}
thrown in /in/TRTF9 on line 5
Process exited with code 255.
int(6)
Fatal error: Uncaught TypeError: Argument 1 passed to {closure}() must be of the type integer, string given in /in/TRTF9:5
Stack trace:
#0 [internal function]: {closure}('three', 2)
#1 /in/TRTF9(5): array_walk(Array, Object(Closure))
#2 /in/TRTF9(14): sum(Array)
#3 {main}
thrown in /in/TRTF9 on line 5
Process exited with code 255.