1.array_map
$arr = ['lanting','nanfeng','xuehua','xiao'];
$result = array_map(function($item){return strtoupper($item);},$arr);
$info = array_keys($data);
$data = array_flip($info);
$result = array_map(function ($item) {return $item + 1;}, $data);
$arr1=array(1,3,5,7);
$arr2=array(2,4,6,8,9);
$results=array_map(function($a,$b){return $a*$b;},$arr1,$arr2);