3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <body> <?php $date = date('Y-m-d'); $date = date('Y-m-d', strtotime('+1 month', strtotime($date))); echo $date; ?> </body> </html>
based on 5NFhd
Output for 5.6.0 - 7.1.7
<!DOCTYPE html> <html> <body> 2017-02-11 </body> </html>