error_clear_last
PHP 7, PHP 8
error_clear_last - Clear the most recent error
Manual
error_clear_last(
): void
Parameters
This function has no parameters.
Return Values
Clears the most recent errors, making it unable to be retrieved with error_get_last.