error_clear_last

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

Example #1 An error_clear_last example

Result: NULL NULL array(4) { ["type"]=> int(8) ["message"]=> string(21) "Undefined variable: b" ["file"]=> string(9) "%s" ["line"]=> int(6) } NULL
PHP Version:


Function error_clear_last:

Error Handling and Logging Functions

Most used PHP functions