3v4l.org

run code in 300+ PHP versions simultaneously
<?php $yr="2018"; $week="01"; $day="Monday"; $day=date("N",strtotime($day)); echo date("Y-m-d", strtotime($yr."W".$week."".$day));; ?>

preferences:
41.49 ms | 402 KiB | 5 Q