PHP Exceptions and Error Handling Which of the following is/are not an exception?1. BadFunctionCallException2. BadMethodCallException3. LogicException4. DomainException 3 and 4 None of the mentioned All of the mentioned Only 4 3 and 4 None of the mentioned All of the mentioned Only 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements causes PHP to disregard repeated error messages that occur within the same file and on the same line? ignore_repeated_errors ignore_repeat_error repeated_error_ignore repeatedly_ignore_error ignore_repeated_errors ignore_repeat_error repeated_error_ignore repeatedly_ignore_error 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_ALL error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which character do the error_reporting directive use to represent the logical operator NOT? ! ^ / ~ ! ^ / ~ ANSWER DOWNLOAD EXAMIANS APP
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 class Returns the message if it is passed to the object 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 class Returns the message if it is passed to the object Returns the message if it is passed to the constructor Returns the message if it is passed to the file ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling What is the description of Error level E_ERROR? Fatal run-time error Near-fatal error Compile-time error Fatal Compile-time error Fatal run-time error Near-fatal error Compile-time error Fatal Compile-time error ANSWER DOWNLOAD EXAMIANS APP