InterviewSolution
Saved Bookmarks
| 1. |
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_ERRORThis question was posed to me in an international level competition.My question is based upon Error Handling topic in portion Error Handling and Exception Handling in PHP of PHP |
|
Answer» Right option is (d) error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR |
|