Get first day of previous month in PHP

$date = strtotime(‘first day of previous month’);

// Don’t use this:
$date = strtotime(‘-1 month’, strtotime(‘2011-03-30 01:01:01’));