3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d H:i:s").">>>>>".date("Y-m-d H:i:s",strtotime(date("Y-m-d H:i:s")."-4 hours"));
Output for 4.3.6 - 4.4.0, 4.4.2 - 7.1.0
2013-11-21 08:24:44>>>>>2013-11-21 04:24:44
Output for 4.4.1
2013-11-21 08:24:43>>>>>2013-11-21 04:24:43
Output for 4.3.0 - 4.3.5
2013-11-21 08:24:44>>>>>2013-11-21 14:24:44