You've inserted 2 tabs here, please remove them.

Also, we don't need 2 nesed `if`s ... just do this:

    if ($dst === TRUE && date('I', $time))
    {
        $time += $3600;
    }