3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $rec['birthday']= "03/11"; $dates = explode("/",$rec['birthday']); $newdate = $dates[0]."-".$dates[1]."-0000"; echo $newdate;
Output for 4.3.0 - 7.2.0
03-11-0000