3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = date('Y-m-d H:m:s'); $end = date('Y-m-d H:m:s', strtotime($start . ' +24 hours')); echo $end; ?>
Output for 4.3.6 - 7.1.0
2014-05-14 17:05:21
Output for 4.3.0 - 4.3.5
2014-05-12 20:05:21