Which of these error types may be handled by a user defined error handler function? (Choose two.)
Which of these error types may be handled by a user defined error handler function? (Choose two.)
A user-defined error handler function in PHP can handle several types of errors, except for some which are not interceptable. E_ERROR and E_PARSE are examples of errors that cannot be handled by a user-defined function. E_NOTICE and E_WARNING, on the other hand, are types of errors that can be managed by a custom error handler, making them the correct options.
I think answer is BD. From manual: The following error types cannot be handled with a user defined function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, and most of E_STRICT raised in the file where set_error_handler() is called.
The answer should be BD.