1 $arr_Array = array_reduce($rankLevel,function(&$arr_Array,$val) { 2 $arr_Array[$val[‘level‘]] = $val[‘name‘]; 3 return $arr_Array; 4 });
原文地址:https://www.cnblogs.com/ghjbk/p/9689802.html
时间: 2024-10-10 15:41:30
1 $arr_Array = array_reduce($rankLevel,function(&$arr_Array,$val) { 2 $arr_Array[$val[‘level‘]] = $val[‘name‘]; 3 return $arr_Array; 4 });
原文地址:https://www.cnblogs.com/ghjbk/p/9689802.html