3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d",strtotime(mktime(0, 0, 0, date("m")+1, date("d"), date("Y"))));
Output for 5.1.0 - 7.1.7
1970-01-01
Output for 4.3.0 - 5.0.5
138586-11-30