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 FV2dT
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
1418612452</br>1418598000
Output for 5.0.0 - 5.0.2
1418598000</br>1418598000