3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('Y-m-d H:i:s',strtotime('-31 days'));
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.6.18, 5.6.20 - 7.3.0rc4
2014-03-17 04:49:14
Output for 5.6.19
2014-03-17 04:49:15
Output for 5.0.0 - 5.0.2
2014-03-17 00:00:00