Vidyalelo
PHP · Q5

Exceptions And Error Handling

Programming · PHP · question 5

Q5

Say you want to report error concerned about fatal run-time, fatal compile-time error and core error which statement would you use?

A.
error_reporting = E_ALL
B.
error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR
C.
error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR
D.
error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board