Return warnings and errors encountered while parsing a date string.
| <?php date_create(“gyuiyiuyui%&&/”); print_r(date_get_last_errors()); ?> |
The date_get_last_errors() function returns warnings and errors encountered during the parsing of a date string.
| date_get_last_errors() |
|
Return Value: |
Returns an array containing details about the errors and warnings. |
|
PHP Version: |
5.3+ |