3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "blah 2015 yar"; $pos = strpos($string, "20"); $year = substr($string, $pos, 4); $end_year = "12/31/" . $year; $end_time = new DateTime($end_year); print_r($end_time); $start_time = new DateTime(); print_r($start_time); $date1 = $end_time->format('Y-m-d'); $date2 = $start_time->format('Y-m-d'); $diff = $end_time->diff($start_time); print_r($diff); ?>
based on AtDZV
Output for 7.1.0
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2014-10-02 22:49:58.004219 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 1 [m] => 2 [d] => 28 [h] => 1 [i] => 10 [s] => 2 [f] => -0.004219 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 454 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.28, 7.0.14
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2014-10-02 22:49:58.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 1 [m] => 2 [d] => 28 [h] => 1 [i] => 10 [s] => 2 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 454 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 7.0.6
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-05-03 07:53:06.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 4 [d] => 2 [h] => 7 [i] => 53 [s] => 6 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 124 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 7.0.5
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-02 20:50:59.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 2 [h] => 20 [i] => 50 [s] => 59 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 93 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 7.0.4
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-10 07:05:38.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 8 [h] => 7 [i] => 5 [s] => 38 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 70 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 7.0.3
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-18 07:36:53.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 16 [h] => 7 [i] => 36 [s] => 53 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 78 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 7.0.2
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-22 13:22:17.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 20 [h] => 13 [i] => 22 [s] => 17 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 82 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 7.0.1
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-23 18:25:10.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 21 [h] => 18 [i] => 25 [s] => 10 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 83 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 7.0.0
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-26 20:06:11.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 24 [h] => 20 [i] => 6 [s] => 11 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 86 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for hhvm-3.12.0
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-11 16:48:05.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( )
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-05-02 03:12:04.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 4 [d] => 1 [h] => 3 [i] => 12 [s] => 4 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 123 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.20
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-09 19:39:35.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 9 [h] => 19 [i] => 39 [s] => 35 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 100 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.19
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-07 15:10:35.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 5 [h] => 15 [i] => 10 [s] => 35 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 67 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.18
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-14 22:54:23.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 12 [h] => 22 [i] => 54 [s] => 23 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 74 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.17
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-19 11:55:39.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 17 [h] => 11 [i] => 55 [s] => 39 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 79 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.16
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-27 21:51:12.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 25 [h] => 21 [i] => 51 [s] => 12 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 87 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.15
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-28 22:44:43.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 26 [h] => 22 [i] => 44 [s] => 43 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 88 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.14
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-02 01:19:20.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 2 [h] => 1 [i] => 19 [s] => 20 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 93 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.13
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-15 05:14:36.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 15 [h] => 5 [i] => 14 [s] => 36 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 106 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.12
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-19 18:50:10.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 19 [h] => 18 [i] => 50 [s] => 10 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 110 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.11
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-23 01:48:58.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 23 [h] => 1 [i] => 48 [s] => 58 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 114 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.10
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-25 03:40:44.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 25 [h] => 3 [i] => 40 [s] => 44 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 116 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.9
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-27 08:37:55.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 27 [h] => 8 [i] => 37 [s] => 55 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 118 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.8
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-29 16:36:29.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 29 [h] => 16 [i] => 36 [s] => 29 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 120 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.6.7
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-05-25 10:24:59.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 4 [d] => 24 [h] => 10 [i] => 24 [s] => 59 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 146 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.35
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-05-22 06:53:28.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 4 [d] => 21 [h] => 6 [i] => 53 [s] => 28 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 143 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.34
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-10 22:07:04.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 10 [h] => 22 [i] => 7 [s] => 4 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 101 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.33
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-08 17:59:29.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 6 [h] => 17 [i] => 59 [s] => 29 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 68 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.32
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-17 00:45:45.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 15 [h] => 0 [i] => 45 [s] => 45 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 77 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.31
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-03-20 14:43:06.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 18 [h] => 14 [i] => 43 [s] => 6 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 80 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.30
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-01 00:52:45.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 1 [h] => 0 [i] => 52 [s] => 45 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 92 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.29
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-16 19:19:34.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 16 [h] => 19 [i] => 19 [s] => 34 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 107 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.28
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-20 21:55:36.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 20 [h] => 21 [i] => 55 [s] => 36 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 111 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.27
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-22 00:20:53.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 22 [h] => 0 [i] => 20 [s] => 53 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 113 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.26
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-26 06:06:20.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 26 [h] => 6 [i] => 6 [s] => 20 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 117 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.25
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-04-28 12:09:25.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 3 [d] => 28 [h] => 12 [i] => 9 [s] => 25 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 119 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.5.24
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2016-05-23 19:04:44.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 4 [d] => 22 [h] => 19 [i] => 4 [s] => 44 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 0 [days] => 144 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.4.44 - 5.4.45
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:04:59.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 55 [s] => 1 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 75 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.4.39 - 5.4.43
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 55 [s] => 0 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 75 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.4.35 - 5.4.38
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:01.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 59 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 75 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.4.31 - 5.4.34
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:02.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 58 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 75 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.4.30
DateTime Object ( [date] => 2015-12-31 00:00:00.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:03.000000 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 57 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 75 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.4.25 - 5.4.29
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:03 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 57 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 75 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.4.19 - 5.4.24
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:04 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 56 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 75 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.4.17 - 5.4.18
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:05 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 55 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 75 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.4.15 - 5.4.16
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:05 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 55 [invert] => 1 [days] => 75 )
Output for 5.4.9 - 5.4.14
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:06 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 54 [invert] => 1 [days] => 75 )
Output for 5.4.5 - 5.4.8
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:07 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 53 [invert] => 1 [days] => 75 )
Output for 5.4.2 - 5.4.4
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:08 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 52 [invert] => 1 [days] => 75 )
Output for 5.4.0 - 5.4.1
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:09 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 51 [invert] => 1 [days] => 75 )
Output for 5.3.28 - 5.3.29
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:09 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 51 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 75 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.3.27
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:10 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 50 [weekday] => 0 [weekday_behavior] => 0 [first_last_day_of] => 0 [invert] => 1 [days] => 75 [special_type] => 0 [special_amount] => 0 [have_weekday_relative] => 0 [have_special_relative] => 0 )
Output for 5.3.25 - 5.3.26
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:10 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 50 [invert] => 1 [days] => 75 )
Output for 5.3.21 - 5.3.24
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:11 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 49 [invert] => 1 [days] => 75 )
Output for 5.3.16 - 5.3.20
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:12 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 48 [invert] => 1 [days] => 75 )
Output for 5.3.12 - 5.3.15
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:13 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 47 [invert] => 1 [days] => 75 )
Output for 5.3.6 - 5.3.11
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:14 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 46 [invert] => 1 [days] => 75 )
Output for 5.3.2 - 5.3.5
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:15 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 45 [invert] => 1 [days] => 75 )
Output for 5.3.0 - 5.3.1
DateTime Object ( [date] => 2015-12-31 00:00:00 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateTime Object ( [date] => 2015-10-16 16:05:16 [timezone_type] => 3 [timezone] => Europe/Amsterdam ) DateInterval Object ( [y] => 0 [m] => 2 [d] => 14 [h] => 7 [i] => 54 [s] => 44 [invert] => 1 [days] => 75 )
Output for 5.2.0 - 5.2.17
DateTime Object ( ) DateTime Object ( ) Fatal error: Call to undefined method DateTime::diff() in /in/FRe1v on line 15
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/FRe1v on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetime in /in/FRe1v on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: datetime in /in/FRe1v on line 7