I have to compare time with a time value stored in a variable. I have devised the logic but it fails at time. 

Following is the logic:

```
$diff = "22:32:53";

if ($diff > strtotime("072:00:00") )
{
    echo "DO A";
}
else if ($diff < strtotime("08:00:00"))
{
    echo "DO B";
}
else if( $diff > strtotime("08:00:00") && $diff < strtotime("072:00:00"))
{
    echo "DO C";
}

```

But it echoes "DO A" whereas it should display "DO C". Could not figure out where I am missing the logic

Thanks in advance.