3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = '1/02/2016'; echo date('Y-m-d', strtotime(str_replace('/', '-', $date)));
based on WFfmr
Output for 5.5.0 - 7.3.0beta1
2016-02-01