3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $week_number = 53; $year = 2013; for($day=1; $day<=7; $day++) { echo date('m/d/Y', strtotime($year."W".$week_number.$day))."\n"; } ?>
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
12/30/2013 12/31/2013 01/01/2014 01/02/2014 01/03/2014 01/04/2014 01/05/2014
Output for 4.3.0 - 4.4.9
01/01/1970 01/01/1970 01/01/1970 01/01/1970 01/01/1970 01/01/1970 01/01/1970