Date and strtotime

If you are using this in PHP-

$expire = date('d-M-y',strtotime("+1 month"));

But it is the last month of the year, will it know to change the year to the new year? What if you added on 3 months at a time… or 3 days at a time and it went over the new year… ETC?

Would that work?

Thanks,

Peter