3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dates = explode("/","03/15/2014"); $newdate = $dates[2]."-".$dates[1]."-".$dates[0]; echo $newdate;
Output for 4.3.0 - 7.1.7
2014-15-03