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 git.master, git.master_jit
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 (2) { ["from_string"]=> bool(true) ["date_string"]=> string(26) "first Monday of next month" } array(36) { [0]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [1]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [2]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [3]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [4]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [5]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [6]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [7]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [8]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [9]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [10]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [11]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [12]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [13]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [14]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [15]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [16]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [17]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [18]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [19]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [20]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [21]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [22]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [23]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [24]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [25]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [26]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) ["h"]=> int(0) ["i"]=> int(0) ["s"]=> int(0) ["f"]=> float(0) ["invert"]=> int(0) ["days"]=> bool(false) ["from_string"]=> bool(false) } ["recurrences"]=> int(1) ["include_start_date"]=> bool(true) ["include_end_date"]=> bool(false) } [27]=> object(DatePeriod)#3 (7) { ["start"]=> object(DateTime)#6 (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 (10) { ["y"]=> int(0) ["m"]=> int(1) ["d"]=> int(0) [

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
39.01 ms | 512 KiB | 5 Q