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
));