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("2016-04-30", 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 qPhOH
Output for 7.2.0
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:44.006303" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:44.011176" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:44.002497" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:44.012611" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:44.006863" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:44.004178" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:44.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-21 12:48:07.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-03 08:55:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-10 20:59:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-18 22:19:38.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-23 04:33:35.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-24 07:44:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-27 09:37:56.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-02 15:46:43.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-10 07:56:26.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-08 05:06:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-15 14:00:11.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-20 01:34:03.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-28 10:27:18.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-29 11:16:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-14 16:57:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-15 17:37:39.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-20 08:06:25.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-24 14:31:44.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-25 16:36:46.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-27 21:44:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-30 06:33:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-23 01:15:24.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-11 10:10:02.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-09 08:05:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-17 17:55:58.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-03-21 04:41:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-01 13:09:15.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-17 07:55:29.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-21 11:24:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-22 13:04:16.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-26 19:15:59.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-04-29 02:41:12.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2016-05-24 09:07:14.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:47.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:48.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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.43
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:49.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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.42
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:50.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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.40
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:51.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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.38 - 5.4.39
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:52.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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.37
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:53.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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.34
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:54.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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 - 5.4.32
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-19 17:18:55.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(26) "2015-01-31 01:23:45.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(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)#2 (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)#3 (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.3.29, 5.4.29
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:18:55" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["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(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)#2 (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)#3 (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.4.25 - 5.4.28
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:18:56" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["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(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)#2 (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)#3 (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.21 - 5.4.24
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:18:57" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["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(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)#2 (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)#3 (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.4.18 - 5.4.20
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:18:58" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["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(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)#2 (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)#3 (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.25 - 5.3.27, 5.4.14 - 5.4.17
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:18:59" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["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(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)#2 (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)#3 (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.24, 5.4.10 - 5.4.13
mine: Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in /in/kEB2m on line 8 bool(false) object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-19 17:19:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } bool(true) bool(false) bool(false) Same date: object(DateTime)#2 (3) { ["date"]=> string(19) "2015-01-31 01:23:45" ["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(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)#2 (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)#3 (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)