3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date("Y-m-d", strtotime('monday this week')), "\n"; echo date("Y-m-d", strtotime('sunday this week')), "\n";

preferences:
31.12 ms | 402 KiB | 5 Q