$value) { foreach ($value as $v_key => $v_value) { if ($v_key === $iten) { $keized[$v_value] = $array[$key]; } } } return $keized; } }