3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d',strtotime('first day of next month')), "\n"; echo date('Y-m-d',strtotime('last day of next month'));

preferences:
29.58 ms | 405 KiB | 5 Q