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