Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed and exactly 2 expected in /in/IlN3q:2
Stack trace:
#0 [internal function]: {closure}('bar')
#1 /in/IlN3q(2): array_map(Object(Closure), Array)
#2 {main}
thrown in /in/IlN3q on line 2
Process exited with code 255.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed and exactly 2 expected in /in/IlN3q:2
Stack trace:
#0 [internal function]: {closure}('bar')
#1 /in/IlN3q(4): array_map(Object(Closure), Array)
#2 {main}
thrown in /in/IlN3q on line 2
Process exited with code 255.
Warning: Missing argument 2 for {closure}() in /in/IlN3q on line 2
Notice: Undefined variable: a in /in/IlN3q on line 3
Notice: Undefined variable: b in /in/IlN3q on line 3
array(1) {
["foo"]=>
array(2) {
[0]=>
NULL
[1]=>
NULL
}
}