闭包函数的参数从哪来的
$callback = array_reduce($pipe_arr,function($stack,$pipe) {
return function() use($stack,$pipe){
return $pipe::handle($stack);
};
},$handle);
请问上面代码中,array_reduce()的第二个参数,function($stack,$pipe){...}闭包函数的参数$stack,$pipe是从哪里来的
推荐文章: