<?php

function obterSegundos($tempo){
    $tempos = explode(":", $tempo);
    $horasmins = (int)$tempos[0] * 3600 + (int)$tempos[1] * 60;
    return count($tempos) === 2 ? $horasmins : $horasmins + (int)$tempos[2];
}

function formatarSegundos($total){
    $horas = floor($total / 3600);
    $minutos = floor(($total - $horas * 3600) / 60);
    $segundos = $total % 60;
    return $segundos ? 
        sprintf('%02d:%02d:%02d', $horas, $minutos, $segundos):
        sprintf('%02d:%02d', $horas, $minutos);
}
    
$t1 = "18:00";
$t2 = "08:30:09";
$total = obterSegundos($t1) + obterSegundos($t2);
$t3 = formatarSegundos($total); //26:30:09

var_dump($t3);