3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date_create(null)->format('Y-m-d');
based on 2O8lm
Output for 5.5.0 - 5.6.38, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.3.1
2018-12-19
Output for 5.3.19 - 5.4.45
2015-12-27