PHP - 2个日期之间的奇怪差异(90000而不是86400)

Eog*_*anM 2 php datetime date

今天PHP的一些奇怪行为:

$ds = array('2011-10-28', '2011-10-29', '2011-10-30', '2011-10-31','2011-11-01');
for($i=0; $i<count($ds); $i++) {
  print_r($ds[$i].' '.strtotime($ds[$i])."\n");
  if ($i < count($ds)-1) {
    print_r(abs(strtotime($ds[$i+1]) - strtotime($ds[$i]))."\n");
  }
}
Run Code Online (Sandbox Code Playgroud)

输出:

2011-10-28 1319756400
86400
2011-10-29 1319842800
86400
2011-10-30 1319929200
90000
2011-10-31 1320019200
86400
2011-11-01 1320105600
Run Code Online (Sandbox Code Playgroud)

谁能解释30到31之间的异常90万?

lon*_*day 5

90000秒是25小时 - 一天25小时只能意味着一件事......时钟在夏令时结束时被放回去了.

当然在英国(我不知道其他地方)发生在周日早上,结果是30日是25小时的一天.