3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Wrong DateInterval first Monday of January 2020, it progress year (+1, +2, etc) not have start or end this class. $timezone = new DateTimeZone( "UTC" ); $fmj = DateInterval::createFromDateString( 'first Monday of next month' ); $period = new DatePeriod( new DateTime( '2019-01-01 00:00:00.000000', $timezone ), $fmj, new DateTime( '2022-01-11 00:00:00.000000', $timezone ) ); $y = 0; foreach ( $period as $dt ) { $c[] = $period; $display[$y++] = $dt->format( "l Y-m-d H:i:s" ); //stop total_recurrence if( $y == 36 ) { break; } } $var = new DateTime( 'first monday of January', new DateTimeZone( "UTC" )); $display[36] = 'this relative date for DateTime class ' . ($var->format( "l Y-m-d H:i:s" )); var_dump( $display, $fmj, $c);
Output for 7.3.0 - 7.3.27, 7.3.29 - 7.3.33, 7.4.0 - 7.4.7, 7.4.9 - 7.4.18, 7.4.20 - 7.4.21, 7.4.24 - 7.4.27, 7.4.29 - 7.4.30, 8.0.0 - 8.0.9, 8.0.11 - 8.0.18, 8.0.20 - 8.0.21, 8.1.0 - 8.1.2, 8.1.5 - 8.1.9
array(37) { [0]=> string(27) "Tuesday 2019-01-01 00:00:00" [1]=> string(26) "Monday 2019-02-04 00:00:00" [2]=> string(26) "Monday 2019-03-04 00:00:00" [3]=> string(26) "Monday 2019-04-01 00:00:00" [4]=> string(26) "Monday 2019-05-06 00:00:00" [5]=> string(26) "Monday 2019-06-03 00:00:00" [6]=> string(26) "Monday 2019-07-01 00:00:00" [7]=> string(26) "Monday 2019-08-05 00:00:00" [8]=> string(26) "Monday 2019-09-02 00:00:00" [9]=> string(26) "Monday 2019-10-07 00:00:00" [10]=> string(26) "Monday 2019-11-04 00:00:00" [11]=> string(26) "Monday 2019-12-02 00:00:00" [12]=> string(26) "Monday 2020-01-06 00:00:00" [13]=> string(26) "Monday 2020-02-03 00:00:00" [14]=> string(26) "Monday 2020-03-02 00:00:00" [15]=> string(26) "Monday 2020-04-06 00:00:00" [16]=> string(26) "Monday 2020-05-04 00:00:00" [17]=> string(26) "Monday 2020-06-01 00:00:00" [18]=> string(26) "Monday 2020-07-06 00:00:00" [19]=> string(26) "Monday 2020-08-03 00:00:00" [20]=> string(26) "Monday 2020-09-07 00:00:00" [21]=> string(26) "Monday 2020-10-05 00:00:00" [22]=> string(26) "Monday 2020-11-02 00:00:00" [23]=> string(26) "Monday 2020-12-07 00:00:00" [24]=> string(26) "Monday 2021-01-04 00:00:00" [25]=> string(26) "Monday 2021-02-01 00:00:00" [26]=> string(26) "Monday 2021-03-01 00:00:00" [27]=> string(26) "Monday 2021-04-05 00:00:00" [28]=> string(26) "Monday 2021-05-03 00:00:00" [29]=> string(26) "Monday 2021-06-07 00:00:00" [30]=> string(26) "Monday 2021-07-05 00:00:00" [31]=> string(26) "Monday 2021-08-02 00:00:00" [32]=> string(26) "Monday 2021-09-06 00:00:00" [33]=> string(26) "Monday 2021-10-04 00:00:00" [34]=> string(26) "Monday 2021-11-01 00:00:00" [35]=> string(26) "Monday 2021-12-06 00:00:00" [36]=> string(64) "this relative date for DateTime class Monday 2021-01-04 00:00:00" } object(DateInterval)#2 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } array(36) { [0]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#9 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [1]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#8 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [2]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#7 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [3]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#4 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [4]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#10 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [5]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#9 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [6]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#8 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [7]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#7 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [8]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#4 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [9]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#10 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [10]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#9 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [11]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#8 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [12]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#7 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [13]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#4 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [14]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#10 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [15]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#9 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [16]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#8 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [17]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#7 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [18]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#4 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [19]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#10 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [20]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#9 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [21]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#8 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [22]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#7 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [23]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000
Output for 7.3.28, 7.4.8, 7.4.19, 7.4.22 - 7.4.23, 7.4.28, 8.0.10, 8.0.19, 8.0.22, 8.1.3 - 8.1.4
array(37) { [0]=> string(27) "Tuesday 2019-01-01 00:00:00" [1]=> string(26) "Monday 2019-02-04 00:00:00" [2]=> string(26) "Monday 2019-03-04 00:00:00" [3]=> string(26) "Monday 2019-04-01 00:00:00" [4]=> string(26) "Monday 2019-05-06 00:00:00" [5]=> string(26) "Monday 2019-06-03 00:00:00" [6]=> string(26) "Monday 2019-07-01 00:00:00" [7]=> string(26) "Monday 2019-08-05 00:00:00" [8]=> string(26) "Monday 2019-09-02 00:00:00" [9]=> string(26) "Monday 2019-10-07 00:00:00" [10]=> string(26) "Monday 2019-11-04 00:00:00" [11]=> string(26) "Monday 2019-12-02 00:00:00" [12]=> string(26) "Monday 2020-01-06 00:00:00" [13]=> string(26) "Monday 2020-02-03 00:00:00" [14]=> string(26) "Monday 2020-03-02 00:00:00" [15]=> string(26) "Monday 2020-04-06 00:00:00" [16]=> string(26) "Monday 2020-05-04 00:00:00" [17]=> string(26) "Monday 2020-06-01 00:00:00" [18]=> string(26) "Monday 2020-07-06 00:00:00" [19]=> string(26) "Monday 2020-08-03 00:00:00" [20]=> string(26) "Monday 2020-09-07 00:00:00" [21]=> string(26) "Monday 2020-10-05 00:00:00" [22]=> string(26) "Monday 2020-11-02 00:00:00" [23]=> string(26) "Monday 2020-12-07 00:00:00" [24]=> string(26) "Monday 2021-01-04 00:00:00" [25]=> string(26) "Monday 2021-02-01 00:00:00" [26]=> string(26) "Monday 2021-03-01 00:00:00" [27]=> string(26) "Monday 2021-04-05 00:00:00" [28]=> string(26) "Monday 2021-05-03 00:00:00" [29]=> string(26) "Monday 2021-06-07 00:00:00" [30]=> string(26) "Monday 2021-07-05 00:00:00" [31]=> string(26) "Monday 2021-08-02 00:00:00" [32]=> string(26) "Monday 2021-09-06 00:00:00" [33]=> string(26) "Monday 2021-10-04 00:00:00" [34]=> string(26) "Monday 2021-11-01 00:00:00" [35]=> string(26) "Monday 2021-12-06 00:00:00" [36]=> string(64) "this relative date for DateTime class Monday 2021-01-04 00:00:00" } object(DateInterval)#2 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } array(36) { [0]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#9 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [1]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#8 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [2]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#7 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [3]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#4 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [4]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#10 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [5]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#9 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [6]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#8 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [7]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#7 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [8]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#4 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [9]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#10 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [10]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#9 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [11]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#8 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [12]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#7 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [13]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#4 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [14]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#10 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [15]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#9 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [16]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#8 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [17]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#7 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [18]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#4 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [19]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#10 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [20]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#9 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [21]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#7 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#8 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [22]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#9 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["current"]=> object(DateTime)#10 (3) { ["date"]=> string(26) "2021-12-06 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["end"]=> object(DateTime)#4 (3) { ["date"]=> string(26) "2022-01-11 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" } ["interval"]=> object(DateInterval)#7 (16) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["weekday"]=> int(1) ["weekday_behavior"]=> int(1) ["first_last_day_of"]=> int(0) ["invert"]=> int(0) ["days"]=> bool(false) ["special_type"]=> int(2) ["special_amount"]=> int(0) ["have_weekday_relative"]=> int(1) ["have_special_relative"]=> int(1) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) } [23]=> object(DatePeriod)#3 (6) { ["start"]=> object(DateTime)#8 (3) { ["date"]=> string(26) "2019-01-01 00:00:00.000000
Process exited with code 137.

preferences:
81.74 ms | 488 KiB | 13 Q