error_clear_last

PHP 7, PHP 8
error_clear_last - Clear the most recent error
Manual
Code Examples

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.

Example of error_clear_last

Show all examples for error_clear_last

PHP Version:


Function error_clear_last:

Error Handling and Logging Functions

Most used PHP functions