- var_dump: documentation ( source)
- date: documentation ( source)
<?php
//echo strtotime('monday this week', time());
$dayOfWeek = ((int)date('N'))-1;
$startOfWeek = new DateTime();
$startOfWeek->modify("-$dayOfWeek days");
var_dump($startOfWeek->format('d'));