3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $start = strtotime(2014-01-02); $end = date('Y-m-d', strtotime('+1 day',$start)); echo $end; ?>
Output for 4.3.0 - 7.1.10
2014-01-02