3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d H:i:s", strtotime("+40 minutes", strtotime('2013-11-19 03:02:45')));
based on 3t71u
Output for 4.3.0 - 4.4.9, 5.0.3 - 7.2.0
2013-11-19 03:42:45
Output for 5.0.0 - 5.0.2
2013-11-19 00:40:00