Return the warnings and errors while parsing a date string:
The date_get_last_errors() function returns the warnings/errors found while parsing a date string.
Return Value: | Returns an array that contains information about the errors/warnings |
---|---|
PHP Version: | 5.3+ |