Menu Riverview Church

DATE_GET_LAST_ERRORS

Returns the warnings and errors

SYNTAX

date_get_last_errors ( void ) : array

RETURN

Returns array containing info about warnings and errors.

EXAMPLES

Array
(
    [warning_count] => 1
    [warnings] => Array
        (
            [6] => Double timezone specification
        )

    [error_count] => 1
    [errors] => Array
        (
            [0] => The timezone could not be found in the database
        )

)

PHP