3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new Datetime(''); echo $date->format('Y-m-d');
Output for 5.4.0 - 7.3.0
2015-09-25
Output for 5.3.18 - 5.3.29
2015-10-03