3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = strtotime("+6 week"); $b = strtotime(date('Y-m-d',strtotime("+6 week"))); echo $a; echo '<br>'; echo $b;
based on IrAqp
Output for 4.3.0 - 4.4.9, 5.0.3 - 7.1.0
1418612472<br>1418598000
Output for 5.0.0 - 5.0.2
1418598000<br>1418598000