3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date1 = strtotime('2012-05-13'); $date2 = strtotime('2012-05-13 + 2 weeks'); echo $date1.'<br>'.$date2;
Output for 4.3.0 - 5.0.5, 5.1.2 - 7.1.0
1336860000<br>1338069600
Output for 5.1.0 - 5.1.1
1336860000<br>