Menu Samaritan's Purse

ERROR_CLEAR_LAST

Clear the most recent error

SYNTAX

error_clear_last ( void ) : void

RETURN

Clears the most recent errors, making it unable to be retrieved with error_get_last().

EXAMPLES

VOID

Array
(
    [type] => 8
    [message] => Undefined variable: error
    [file] => /home/user/public_html/index.php
    [line] => 3
)
NULL

RETURN

Array
(
    [type] => 8
    [message] => Undefined variable: error
    [file] => /home/user/public_html/index.php
    [line] => 3
)
NULL

PHP