Окончательный вариант:
$result = $tempArr ;
foreach (array_keys($result) as $key1) {
unset($result[$key1][tv][4]);
unset($result[$key1][tv][41]);
}
$output = array_intersect_key($tempArr, array_map("unserialize", array_unique(array_map("serialize", $result))));
foreach (array_keys($output) as $key2) {
unset($output[$key2][tv][41]);
foreach (array_keys($tempArr) as $key3) {
if ($output[$key2][tv][35] == $tempArr[$key3][tv][35]) {
$output[$key2][tv][41] .= $tempArr[$key3][tv][41] . "<br/>\n";
}
}
}
print_r($output);