3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y/m/d', strtotime("Last day of ".date('F', strtotime("first day of next month"))." ".date('Y')));

preferences:
67.67 ms | 402 KiB | 5 Q