3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = date('Y-m-d H:i:s'); var_dump(date('Y-m-d H:i:s', strtotime($date . ' +4 days')));
Output for 4.3.6 - 7.1.0
string(19) "2014-10-28 11:04:08"
Output for 4.3.0 - 4.3.5
string(19) "2014-10-25 09:04:08"