Here is my code, throwing an error with Warning: Missing argument 2 for {closure}() in the first line
$all_together = array_filter($info,function($each_one,$extra){
$op = $each_one["something"];
if($op <= $extra) return $each_one["what_I_need"];
});
I need to use the $extra argument, independent of the input array elements. What am I missing exactly?