1--TEST-- 2Bug #74274 (Handling DST transitions correctly) 3--FILE-- 4<?php 5$tz = new DateTimeZone("Europe/Paris"); 6$startDate = new \DateTime('2018-10-28 00:00:00', $tz); 7$endDateBuggy = new \DateTime('2018-10-29 23:00:00', $tz); 8 9print_r($startDate->diff($endDateBuggy)); 10?> 11--EXPECT-- 12DateInterval Object 13( 14 [y] => 0 15 [m] => 0 16 [d] => 1 17 [h] => 23 18 [i] => 0 19 [s] => 0 20 [f] => 0 21 [weekday] => 0 22 [weekday_behavior] => 0 23 [first_last_day_of] => 0 24 [invert] => 0 25 [days] => 1 26 [special_type] => 0 27 [special_amount] => 0 28 [have_weekday_relative] => 0 29 [have_special_relative] => 0 30) 31