Warning: test(): Argument #1 ($item) must be passed by reference, value given in /in/KSWPO on line 14
Fatal error: Uncaught ArgumentCountError: Too few arguments to function test(), 1 passed and exactly 2 expected in /in/KSWPO:5
Stack trace:
#0 [internal function]: test('lemon')
#1 /in/KSWPO(14): array_filter(Array, 'test')
#2 {main}
thrown in /in/KSWPO on line 5
Process exited with code 255.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function test(), 1 passed and exactly 2 expected in /in/KSWPO:5
Stack trace:
#0 [internal function]: test('lemon')
#1 /in/KSWPO(14): array_filter(Array, 'test')
#2 {main}
thrown in /in/KSWPO on line 5
Process exited with code 255.
Warning: Missing argument 2 for test() in /in/KSWPO on line 5
Warning: Missing argument 2 for test() in /in/KSWPO on line 5
Warning: Missing argument 2 for test() in /in/KSWPO on line 5
Warning: Missing argument 2 for test() in /in/KSWPO on line 5
array(4) {
["d"]=>
string(5) "lemon"
["a"]=>
string(6) "orange"
["b"]=>
string(6) "banana"
["c"]=>
string(5) "apple"
}