$arr = array();. foreach($test as $v){. if(isset($arr[key($v)])){. $arr[key($v)] += current($v);. }else{. $arr[key($v)] = current($v);. }.
確定! 回上一頁