PHP Exceptions and Error Handling Which of the following is/are an exception?1. OutOfBoundException2. OutOfRangeException3. OverflowException4. UnderflowException 1 and 3 1 and 2 All of the mentioned None of the mentioned 1 and 3 1 and 2 All of the mentioned None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements invoke the exception class? throw new Exception(); new throws Exception(); throws new Exception(); new Exception(); throw new Exception(); new throws Exception(); throws new Exception(); new Exception(); ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version of PHP introduced E_STRICT Error level? PHP 5 PHP 4 PHP 5.2 PHP 5.3 PHP 5 PHP 4 PHP 5.2 PHP 5.3 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following is/are not an exception?1. BadFunctionCallException2. BadMethodCallException3. LogicException4. DomainException 3 and 4 All of the mentioned Only 4 None of the mentioned 3 and 4 All of the mentioned Only 4 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling You can extend the exception base class, but you cannot override any of the preceding methods because the are declared as__________ private static final protected private static final protected 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? repeatedly_ignore_error ignore_repeat_error ignore_repeated_errors repeated_error_ignore repeatedly_ignore_error ignore_repeat_error ignore_repeated_errors repeated_error_ignore ANSWER DOWNLOAD EXAMIANS APP