If you want to get 2
days for this interval you can just +1
to the result, because none of the combinations of functions will give 2
days.
$date11 = strtotime($date11);
$date22 = strtotime($date22);
$diff = $date22 - $date11;
$diff_in_days = floor($diff/(60*60*24)) + 1;