3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d',strtotime('first day of next month')), "\n"; echo date('Y-m-d',strtotime('last day of next month'));
based on Z6IVV
Output for 5.6.0 - 7.2.6
2016-09-01 2016-09-30