3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sunday_day = new DateTime(strtotime('last sunday')); echo(date_format($sunday_day, 'm/d/Y'));

preferences:
66.68 ms | 402 KiB | 5 Q