3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function getQuarterEndingOf($month) { $quarterEndings = [ 1 => 'Mar', 2 => 'Mar', 3 => 'Mar', 4 => 'Jun', 5 => 'Jun', 6 => 'Jun', 7 => 'Sep', 8 => 'Sep', 9 => 'Sep', 10 => 'Dec', 11 => 'Dec', 12 => 'Dec', ]; $timeFormat = sprintf('%s %s', $quarterEndings[$month], date('Y') ); return new \DateTime($timeFormat); } for($m=1; $m <= 12; $m++) { var_dump(getQuarterEndingOf($m)); $d = new \DateTime(); var_dump($d->setDate(date('Y'), ceil($m/3)*3,1)); echo '==='; }
based on oAMnY
Output for 7.2.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.005956" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.006012" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.006055" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.006098" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.006141" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.006183" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.006236" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.006281" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.006323" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.006365" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.006408" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.006450" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===
Output for 7.1.10
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.003800" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.003863" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.003919" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.003975" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.004030" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.004085" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.004140" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.004194" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.004248" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.004304" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.004358" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.004412" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===
Output for 7.1.7
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.002542" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.002575" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.002612" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.002640" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.002665" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.002694" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.002721" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.002746" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.002773" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.002799" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.002821" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.002852" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===
Output for 7.1.6
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.012958" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.013066" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.013163" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.013260" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.013356" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.013453" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.013550" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.013646" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.013741" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.013842" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.013939" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.014036" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===
Output for 7.1.5
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.011679" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.011826" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.011948" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.012069" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.012188" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.012309" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.012428" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.012546" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.012667" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.012786" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.012903" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.013023" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===
Output for 7.1.0
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.004075" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.004158" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.004231" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.004299" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.004370" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.004438" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.004505" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.004574" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.004642" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.004708" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.004778" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.004846" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===
Output for 5.4.30 - 5.4.45, 5.5.14 - 7.0.20
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-03-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-06-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-09-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(26) "2015-12-01 04:59:01.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===
Output for 5.4.0 - 5.4.29, 5.5.0 - 5.5.13
object(DateTime)#1 (3) { ["date"]=> string(19) "2015-03-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-03-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(19) "2015-03-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-03-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(19) "2015-03-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-03-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(19) "2015-06-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-06-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(19) "2015-06-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-06-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(19) "2015-06-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-06-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(19) "2015-09-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-09-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(19) "2015-09-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-09-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(19) "2015-09-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-09-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#1 (3) { ["date"]=> string(19) "2015-12-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-01 00:00:00" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } object(DateTime)#2 (3) { ["date"]=> string(19) "2015-12-01 04:59:01" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } ===
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/IppIE on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/IppIE on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/IppIE on line 5
Process exited with code 255.