3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $curDate = new DateTime(); echo $curDate->add(new DateInterval('P2D'))->format('m-d-Y');
based on fCdW3
Output for 5.3.22 - 5.4.45, 7.0.20 - 7.2.0
01-25-2016
Output for 7.0.6
05-23-2016
Output for 7.0.5
04-05-2016
Output for 7.0.4
03-12-2016
Output for 7.0.3
03-20-2016
Output for 7.0.2
03-25-2016
Output for 7.0.1
03-26-2016
Output for 7.0.0
03-29-2016
Output for 5.6.21
05-04-2016
Output for 5.6.20
04-12-2016
Output for 5.6.19
03-10-2016
Output for 5.6.18
03-17-2016
Output for 5.6.17
03-22-2016
Output for 5.6.16
03-30-2016
Output for 5.6.15
03-31-2016
Output for 5.6.14
04-16-2016
Output for 5.6.13
04-17-2016
Output for 5.6.12
04-22-2016
Output for 5.6.11
04-26-2016
Output for 5.6.10
04-27-2016
Output for 5.6.9
04-29-2016
Output for 5.6.8
05-02-2016
Output for 5.5.35
05-25-2016
Output for 5.5.34
04-13-2016
Output for 5.5.33
03-11-2016
Output for 5.5.32
03-19-2016
Output for 5.5.31
03-23-2016
Output for 5.5.30
04-03-2016
Output for 5.5.29
04-19-2016
Output for 5.5.28
04-23-2016
Output for 5.5.27
04-24-2016
Output for 5.5.26
04-28-2016
Output for 5.5.25
05-01-2016
Output for 5.5.24
05-26-2016