PHP Exceptions and Error Handling Which version of PHP was added with Exception handling? PHP 4 PHP 6 PHP 5 PHP 5.3 PHP 4 PHP 6 PHP 5 PHP 5.3 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_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following is/are an exception?1. OutOfBoundException2. OutOfRangeException3. OverflowException4. UnderflowException All of the mentioned 1 and 3 1 and 2 None of the mentioned All of the mentioned 1 and 3 1 and 2 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many methods are available for the exception class? 6 5 8 7 6 5 8 7 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 file 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 class 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 constructor Returns the message if it is passed to the class ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements invoke the exception class? new throws Exception(); throws new Exception(); throw new Exception(); new Exception(); new throws Exception(); throws new Exception(); throw new Exception(); new Exception(); ANSWER DOWNLOAD EXAMIANS APP