3v4l.org

run code in 300+ PHP versions simultaneously
<?php $current_dayname = date("l"); echo $date = date("Y-m-d",strtotime('monday this week')).' To '.date("Y-m-d",strtotime("sunday this week"));

preferences:
39.94 ms | 402 KiB | 5 Q