Returns warnings and errors when parsing date strings:
<?phpdate_create("gyuiyiuyui%&&/");print_r(date_get_last_errors());?>The date_get_last_errors() function returns warnings/errors found while parsing a date string.
date_get_last_errors();
Return value: | Returns an array containing information about errors/warnings. |
---|---|
PHP version: | 5.3+ |