3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i=30; $start_date=2014-10-01; $date = strtotime($start_date); $date = strtotime(" +".$i."days", $date); $new_date=date('Y-m-d', $date); echo $new_date;
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.3.0rc3
2017-08-10