3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(max(DateTime::createFromFormat('d/m/Y', ''), DateTime::today())); var_dump(max(DateTime::createFromFormat('d/m/Y', null), DateTime::today()));