3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date('c', strtotime('2/3/2018')); echo "\n"; echo date('c', strtotime('2.3.2018')); echo "\n"; echo date('c', strtotime('2-3-2018'));
based on 073hM
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0alpha1
2018-02-03T00:00:00+01:00 2018-03-02T00:00:00+01:00 2018-03-02T00:00:00+01:00