PHP Exceptions and Error Handling Which one of the following is the right description for the method getMessage() ? Returns the message if it is passed to the file Returns the message if it is passed to the object Returns the message if it is passed to the class Returns the message if it is passed to the constructor Returns the message if it is passed to the file Returns the message if it is passed to the object Returns the message if it is passed to the class Returns the message if it is passed to the constructor ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many predefined exceptions does SPL provide access to? 13 16 14 15 13 16 14 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Say you want to report error concerned about fatal run-time, fatal compile-time error and core error which statement would you use? error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling What is the description of Error level E_ERROR? Fatal Compile-time error Fatal run-time error Compile-time error Near-fatal error Fatal Compile-time error Fatal run-time error Compile-time error Near-fatal error ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many methods are available for the exception class? 6 7 5 8 6 7 5 8 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many error levels are available in PHP? 14 17 16 15 14 17 16 15 ANSWER DOWNLOAD EXAMIANS APP