3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime('+48 hours', null); echo " "; echo strtotime('+48 hours', 0); echo " "; echo strtotime('+48 hours', strtotime('2015-05-06 11:41:30')); echo " "; if (strtotime('2015-05-06 12:50:30') < strtotime('+48 hours', strtotime('2015-05-06 11:41:30'))) { echo 'test'; }
based on 9CXco
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.0.5, 5.1.3 - 7.2.0
172800 172800 1431078090 test
Output for 5.1.0 - 5.1.2
1431078090 test
Output for 5.0.0 - 5.0.2
169200 169200 1431036000 test