3v4l.org

run code in 300+ PHP versions simultaneously
<?php $monday = strtotime('this week', strtotime('7 days ago')); $sunday = strtotime('+ 6 days', $monday); echo 'Past Week Monday: ' . date('l, F j, Y', $monday) . PHP_EOL; echo 'Past Week Sunday: ' . date('l, F j, Y', $sunday) . PHP_EOL; echo "\n*** HIT [eval();] to show corrected result ***";

preferences:
34.24 ms | 405 KiB | 5 Q