Just to give a couple more details if they're needed: $daylight returns 0 when this bug occurs, and disabling Windows' automatic DST adjustment setting seems to fix it.
It's showing 0
for me too but I would expect that at the moment.
$calc(($ctime - $gmt) / 3600)
returns 11$calc(($ctime - $gmt + $daylight) / 3600)
Me too, I probably jumped on you a bit hard.