1
如何使用'array_map'从匿名函数中的数组中获得密钥?如何在匿名函数中获取数组中的密钥?
array_map(function($v) {
echo $v.'<br/>'; //get key (container..e.t.c)
},array(
'CONTAINER' => $this->CONTAINER ,
'CONTAINER_USE_KEY' => $this->CONTAINER_USE_KEY ,
'LINE' => $this->LINE
));