3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = strtotime("2014-09-16"); echo strtotime('+15 weeks',$date); $timestamp = strtotime('+15 weeks',$date); echo " Date=".date('Y-m-d', $timestamp); echo " Date=".date('Y-W-d', $timestamp);
based on 62EXY
Output for 4.4.1 - 4.4.9, 5.0.5 - 7.1.0
1419894000 Date=2014-12-30 Date=2014-01-30
Output for 4.3.0 - 4.4.0, 5.0.0 - 5.0.4
1419894000 Date=2014-12-30 Date=2014-1-30