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 . ' +3 hours')); echo $end; ?>
Output for 4.3.6 - 5.6.28, hhvm-3.10.0, 7.0.0 - 7.1.0
2014-05-13 20:05:50
Output for hhvm-3.12.0
2014-05-13 20:05:51
Output for 4.3.0 - 4.3.5
2014-05-13 17:05:50