Código PHP:
$f=date("Y-m-d");
$fechaa=date("Y-m-d", strtotime("$f -7 day"));
//$fecha = "25";
$fecha = explode("-",$fechaa);
$queDiaRepresenta = date('w', mktime(0,0,0,$fecha[1],$fecha[2],$fecha[0]));
$n = 1;
$semana = array();
while($n <=7){
//$dia = ($fecha[2]-$queDiaRepresenta+$n++);
$semana[] = date('Y-m-d', mktime(0,0,0,$fecha[1],$fecha[2],$fecha[0]));
}