- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$last_sunday = new DateTime('monday of '.date("W", strtotime("- 1 day")).' week');
$sunday = new DateTime('last sunday');
echo $last_sunday->format("j/n");
echo $sunday->format("j/n");