3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('now'); for ($i = 1; $i <= 10; $i++) { $date->modify('+1 day'); echo $date->format('dmY'); } ?>
based on D8YUA
Output for 5.3.19 - 5.4.45, 5.6.28, 7.0.20 - 7.2.0
22102015231020152410201525102015261020152710201528102015291020153010201531102015
Output for 7.0.6
22052016230520162405201625052016260520162705201628052016290520163005201631052016
Output for 5.6.14, 7.0.5
15042016160420161704201618042016190420162004201621042016220420162304201624042016
Output for 7.0.4
10032016110320161203201613032016140320161503201616032016170320161803201619032016
Output for 7.0.3
18032016190320162003201621032016220320162303201624032016250320162603201627032016
Output for 7.0.2
22032016230320162403201625032016260320162703201628032016290320163003201631032016
Output for 7.0.1
24032016250320162603201627032016280320162903201630032016310320160104201602042016
Output for 7.0.0
27032016280320162903201630032016310320160104201602042016030420160404201605042016
Output for 5.6.21
03052016040520160505201606052016070520160805201609052016100520161105201612052016
Output for 5.6.20
11042016120420161304201614042016150420161604201617042016180420161904201620042016
Output for 5.6.19
07032016080320160903201610032016110320161203201613032016140320161503201616032016
Output for 5.6.18
15032016160320161703201618032016190320162003201621032016220320162303201624032016
Output for 5.6.17
20032016210320162203201623032016240320162503201626032016270320162803201629032016
Output for 5.6.16
28032016290320163003201631032016010420160204201603042016040420160504201606042016
Output for 5.6.15
30032016310320160104201602042016030420160404201605042016060420160704201608042016
Output for 5.6.13
16042016170420161804201619042016200420162104201622042016230420162404201625042016
Output for 5.6.12
21042016220420162304201624042016250420162604201627042016280420162904201630042016
Output for 5.6.11
25042016260420162704201628042016290420163004201601052016020520160305201604052016
Output for 5.6.10
26042016270420162804201629042016300420160105201602052016030520160405201605052016
Output for 5.6.9
29042016300420160105201602052016030520160405201605052016060520160705201608052016
Output for 5.6.8
01052016020520160305201604052016050520160605201607052016080520160905201610052016
Output for 5.5.35
24052016250520162605201627052016280520162905201630052016310520160106201602062016
Output for 5.5.34
12042016130420161404201615042016160420161704201618042016190420162004201621042016
Output for 5.5.33
09032016100320161103201612032016130320161403201615032016160320161703201618032016
Output for 5.5.32
16032016170320161803201619032016200320162103201622032016230320162403201625032016
Output for 5.5.31
21032016220320162303201624032016250320162603201627032016280320162903201630032016
Output for 5.5.30
02042016030420160404201605042016060420160704201608042016090420161004201611042016
Output for 5.5.29
18042016190420162004201621042016220420162304201624042016250420162604201627042016
Output for 5.5.28
22042016230420162404201625042016260420162704201628042016290420163004201601052016
Output for 5.5.27
23042016240420162504201626042016270420162804201629042016300420160105201602052016
Output for 5.5.26
27042016280420162904201630042016010520160205201603052016040520160505201606052016
Output for 5.5.25
30042016010520160205201603052016040520160505201606052016070520160805201609052016
Output for 5.5.24
25052016260520162705201628052016290520163005201631052016010620160206201603062016