3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = DateTime::createFromFormat('mmdd', '8888'); var_dump($a, DateTime::getLastErrors());
Output for 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.30 - 7.3.0beta1
bool(false) array(4) { ["warning_count"]=> int(0) ["warnings"]=> array(0) { } ["error_count"]=> int(1) ["errors"]=> array(1) { [4]=> string(12) "Data missing" } }