Home > Article > Backend Development > A detailed explanation of how to capture PHP error messages_PHP Tutorial
PS:
1. Capture PHP syntax errors
2. Serious errors
These two types of errors cannot be caught with normal set_error_handle. Here are the tricks to catch such errors
}
//error_test.php page
$a = 1 + 2
$b