3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sd = '01-03-05'; $sd = substr($sd, 0, 6).'20'.substr($sd, 6, 8); print $sd;
Output for 4.3.0 - 7.2.0
01-03-2005