3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $future_time = time()+strtotime('+ 2 days'); echo date('Y-m-d H:i:s', $future_time);
Output for 5.1.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2058-07-06 03:50:54
Output for 5.1.0 - 5.1.1
2014-04-03 03:25:27
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5
2058-07-06 04:50:54
Output for 5.0.0 - 5.0.2
2058-07-06 01:25:27