3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = date( "Y-m-d 11:00:00", strtotime("-2 weeks sunday")); $end = date( "Y-m-d 11:00:00", strtotime("-1 weeks sunday")); echo $start . ' - ' . $end;

preferences:
26.23 ms | 405 KiB | 5 Q