Home » PHP » PHP Error Handling » Question
  1. Say you want to report error concerned about fatal run-time, fatal compile-time error and core error which statement would you use?
    1. error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR
    2. error_reporting = E_ALL
    3. error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR
    4. error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR
    5. None of these
Correct Option: C

error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR



Your comments will be displayed only after manual approval.