3v4l.org

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

preferences:
38.41 ms | 402 KiB | 5 Q