Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed and exactly 2 expected in /in/49i92:17
Stack trace:
#0 [internal function]: {closure}(Array)
#1 /in/49i92(17): array_map(Object(Closure), Array)
#2 {main}
thrown in /in/49i92 on line 17
Process exited with code 255.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed and exactly 2 expected in /in/49i92:17
Stack trace:
#0 [internal function]: {closure}(Array)
#1 /in/49i92(19): array_map(Object(Closure), Array)
#2 {main}
thrown in /in/49i92 on line 17
Process exited with code 255.
Warning: Missing argument 2 for {closure}() in /in/49i92 on line 17
Notice: Undefined variable: value in /in/49i92 on line 18
array(3) {
[0]=>
string(3) "Ace"
[1]=>
string(5) "James"
[2]=>
string(5) "Tommy"
}
NULL
Warning: Missing argument 2 for {closure}() in /in/49i92 on line 17
Notice: Undefined variable: value in /in/49i92 on line 18
array(3) {
[0]=>
int(10)
[1]=>
int(20)
[2]=>
int(32)
}
NULL