3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (!class_exists('DateTime') ) { die('Feature not available yet'); } echo "mine:\n"; $a = date_create("now", new DateTimeZone("UTC")); $b = date_create("now"); var_dump($a, $b, $a<$b, $a==$b, $a>$b); echo "\n"; echo "Same date:\n"; $a = new DateTime('2015-01-31 01:23:45 UTC'); $b = new DateTime('2015-01-31 02:23:45 Europe/Paris'); var_dump($a, $b, $a<$b, $a==$b, $a>$b); echo "\n"; echo "First greater than second:\n"; $a = new DateTime('2015-01-31 01:23:46 UTC'); $b = new DateTime('2015-01-31 02:23:45 Europe/Paris'); var_dump($a, $b, $a<$b, $a==$b, $a>$b); echo "\n"; echo "First less than second:\n"; $a = new DateTime('2015-01-31 01:23:45 UTC'); $b = new DateTime('2015-01-31 02:23:46 Europe/Paris'); var_dump($a, $b, $a<$b, $a==$b, $a>$b);
based on Bfc59
Output for 7.2.0
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:21.005195" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:21.005206" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.1.10
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:21.004953" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:21.004963" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.1.7
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:21.002513" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:21.002521" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.1.6
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:21.012962" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:21.012980" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.1.5
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:21.006582" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:21.006591" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.1.0
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:21.004158" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:21.004167" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.28, 7.0.20
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:21.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.0.6
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-21 10:48:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-21 12:48:09.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.0.5
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-03 06:55:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-03 08:55:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.0.4
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-10 19:59:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 20:59:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.0.3
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-18 21:19:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 22:19:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.0.2
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-23 03:33:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 04:33:36.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.0.1
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-24 06:44:19.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-24 07:44:19.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 7.0.0
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-27 07:37:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 09:37:57.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.21
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-02 13:46:44.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-02 15:46:44.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.20
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-10 05:56:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-10 07:56:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.19
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-08 04:06:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 05:06:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.18
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-15 13:00:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 14:00:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.17
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-20 00:34:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 01:34:04.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.16
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-28 08:27:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 10:27:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.15
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-29 09:16:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 11:16:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.14
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-14 14:57:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-14 16:57:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.13
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-15 15:37:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-15 17:37:40.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.12
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-20 06:06:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-20 08:06:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.11
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-24 12:31:44.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 14:31:44.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.10
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-25 14:36:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 16:36:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.9
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-27 19:45:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 21:45:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.6.8
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-30 04:33:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-30 06:33:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.35
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-22 23:15:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-23 01:15:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.34
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-11 08:10:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-11 10:10:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.33
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-09 07:05:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-09 08:05:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.32
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-17 16:55:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-17 17:55:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.31
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-03-21 03:41:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-21 04:41:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.30
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-01 11:09:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-01 13:09:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.29
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-17 05:55:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-17 07:55:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.28
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-21 09:24:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 11:24:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.27
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-22 11:04:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 13:04:17.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.26
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-26 17:15:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 19:15:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.25
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-04-29 00:41:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 02:41:13.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.5.24
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2016-05-24 07:07:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-24 09:07:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.4.45
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:23.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.4.44
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.4.41 - 5.4.43
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.4.39 - 5.4.40
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.4.35 - 5.4.38
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:27.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:27.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.4.31 - 5.4.34
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.4.30
mine: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-19 16:21:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:21:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 01:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(26) "2015-01-31 02:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-01-31 02:23:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.4.26 - 5.4.29
mine: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-19 16:21:29" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:21:29" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 01:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 02:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.3.28, 5.4.22 - 5.4.25
mine: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-19 16:21:30" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:21:30" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 01:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 02:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.3.27, 5.4.18 - 5.4.21
mine: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-19 16:21:31" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:21:31" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 01:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 02:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.3.23 - 5.3.26, 5.4.12 - 5.4.17
mine: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-19 16:21:32" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:21:32" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 01:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 02:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.3.20 - 5.3.22, 5.4.10 - 5.4.11
mine: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-19 16:21:33" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:21:33" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 01:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 02:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)
Output for 5.3.29
mine: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-19 16:21:28" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:21:28" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(false) bool(true) bool(false) Same date: object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(true) bool(false) First greater than second: object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 01:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#3 (3) { ["date"]=> string(19) "2015-01-31 02:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(false) bool(false) bool(true) First less than second: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-01-31 02:23:46" ["timezone_type"]=> int(3) ["timezone"]=> string(12) "Europe/Paris" } bool(true) bool(false) bool(false)