3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo DATE("Y-m-d", strtotime(str_replace('/','-','28/06/2014')));
Output for 5.1.3 - 7.1.0
2014-06-28
Output for 5.1.0 - 5.1.2
1970-01-01
Output for 4.3.0 - 5.0.5
2033-12-05