$input = '2000 February';
$explode = explode(' ', $input);
$year = $explode[0];
$month = $explode[1];
$month_plus = $month;
$timestamp = strtotime($month . ' 1 ' . $year);
$i = 0;
while ($month == $month_plus)
{
$date = date('Y-m-d', $timestamp);
$timestamp = strtotime($date . ' +1 day');
$month_plus = date('F', $timestamp);
$i++;
}
echo 'there are ' . $i . ' days in: ' . $input;