3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $od="11-08-2014"; $nd=date("Y-m-d",strtotime($od)); echo $nd; ?>
based on 0KB7p
Output for 5.1.3 - 7.1.0
2014-08-11
Output for 5.1.0 - 5.1.2
1970-01-01
Output for 4.3.0 - 5.0.5
2017-02-03