3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = '010104'; $date = DateTime::createFromFormat('dmy', $str); var_dump($date);
based on CcRCZ