PHP Exceptions and Error Handling Which of the following statements invoke the exception class? throw new Exception(); new throws Exception(); new Exception(); throws new Exception(); throw new Exception(); new throws Exception(); new Exception(); throws new Exception(); 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 repeatedly_ignore_error ignore_repeat_error repeated_error_ignore ignore_repeated_errors repeatedly_ignore_error ignore_repeat_error repeated_error_ignore ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following is/are not an exception?1. BadFunctionCallException2. BadMethodCallException3. LogicException4. DomainException None of the mentioned 3 and 4 All of the mentioned Only 4 None of the mentioned 3 and 4 All of the mentioned Only 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version introduced the function error_get_last()? PHP 5.3 PHP 4 PHP 5.2 PHP 5 PHP 5.3 PHP 4 PHP 5.2 PHP 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many predefined exceptions does SPL provide access to? 16 13 14 15 16 13 14 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console? LOG_CONS LOG_NDELAY LOG_ODELAY LOG_PERROR LOG_CONS LOG_NDELAY LOG_ODELAY LOG_PERROR ANSWER DOWNLOAD EXAMIANS APP