3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('America/Los_Angeles'); echo date('Y-m-d H:i:s',strtotime('+ 1 month'));
based on QtSjZ
Output for 5.6.28, 7.0.20 - 7.2.0
2015-11-12 05:43:11
Output for 5.4.0 - 5.6.23, 7.0.0 - 7.0.8
2015-11-12 05:43:10