- Output for 8.2.0 - 8.2.26, 8.3.0 - 8.3.14, 8.4.1
- bool(false)
- Output for 7.4.0 - 7.4.33, 8.0.1 - 8.0.30, 8.1.0 - 8.1.30
- array(4) { ["warning_count"]=> int(0) ["warnings"]=> array(0) { } ["error_count"]=> int(0) ["errors"]=> array(0) { } }
<?php
DateTime::createFromFormat('!Y-m-d', '2020-01-01');
var_dump(DateTime::getLastErrors());