Example to display next month’s date from current date without skipping any day or month in PHP

Want to display next month’s date from current date without skipping any day or month, here is the example:


Example:

01-01-2016 | 01-02-2016
15-01-2016 | 15-02-2016
30-01-2016 | 29-02-2016
31-01-2016 | 29-02-2016
10-03-2016 | 10-04-2016
31-03-2016 | 30-04-2016