http://php.net/manual/en/function.date.php

Usando come formato I (i maiuscola) ti dice se l'ora che prende la funzione è DST (1) oppure no (0)

I (capital i) - Whether or not the date is in daylight saving time - 1 if Daylight Saving Time, 0 otherwise.
DST = ora legale