3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $epoch = time(); $dt = new DateTime("@$epoch"); echo $dt->format('Y-m-d'); echo time();
based on CMgjh
Output for 5.4.0 - 7.2.0
2015-09-121442069336