3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php setlocale (LC_TIME, "it_IT.utf8"); $da = date('Y-m-d H:i:s', strtotime('13-03-2015')); echo $da;
based on 2Gsr3
Output for 5.1.3 - 7.2.0
2015-03-13 00:00:00
Output for 5.1.0 - 5.1.2
1970-01-01 01:00:00
Output for 4.3.0 - 5.0.5
2018-09-05 00:00:00