- var_dump: documentation ( source)
- explode: documentation ( source)
<?php
$start = "01:12";
if(strlen($start) == 5){
$temp = explode(":", $start);
$minutes = $temp[0] * 60;
$seconds = $temp[1];
$temp = $minutes + $seconds;
var_dump($temp);
}