3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d = '2014-05-22_16-39-50'; echo $d; echo "\n"; echo date('d.m.Y - H:i:s', strtotime($d));
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2014-05-22_16-39-50 01.01.1970 - 01:00:00
Output for 4.3.0 - 5.0.5
2014-05-22_16-39-50 01.01.1970 - 00:59:59