<?phpecho date('Y-m-d', strtotime(date('Y-m-d', strtotime('2017-02-28 next month')) . ' next month'));
Standard input is empty
2017-04-28
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!