200-710 Exam QuestionsBrowse all questions from this exam

200-710 Exam - Question 7


Which of these error types may be handled by a user defined error handler function? (Choose two.)

Show Answer
Correct Answer: ABCD

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.

Discussion

2 comments
Sign in to comment
ZhukovPeterOptions: BD
Jan 4, 2020

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.

[Removed]Options: BD
Jun 20, 2020

The answer should be BD.