3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <body> <?php $date = date('Y-m-d'); $a = date('Y-m-d', strtotime('+1 month', $date)); echo $a; ?> </body> </html>
based on kchNB
Output for 5.6.0 - 7.1.7
<!DOCTYPE html> <html> <body> Notice: A non well formed numeric value encountered in /in/5NFhd on line 7 1970-02-01 </body> </html>