3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $date = date('Y-m-d'); $date = date('Y-m-d', strtotime('+1 month', strtotime($date))); echo $date; ?> </body> </html>

preferences:
33.7 ms | 402 KiB | 5 Q