3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d", strtotime("2009-03-20 +5 weekday"))."\n"; echo date("l", strtotime("friday +5 weekday"))."\n";
based on ogNBu
Output for 5.5.0 - 7.1.0
2009-03-27 Friday
Output for 5.2.0 - 5.4.45
2009-03-29 Sunday
Output for 4.3.0 - 5.1.6
1970-01-01 Thursday