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 You can extend the exception base class, but you cannot override any of the preceding methods because the are declared as__________ protected private static final protected private static final ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which function is responsible for sending a custom message to the system log? systemlog() syslog() sys_log() log_system() systemlog() syslog() sys_log() log_system() ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements invoke the exception class? new throws Exception(); new Exception(); throw new Exception(); throws new Exception(); new throws Exception(); new Exception(); throw new Exception(); throws new Exception(); 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_PERROR LOG_NDELAY LOG_ODELAY LOG_CONS LOG_PERROR LOG_NDELAY LOG_ODELAY ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version introduced the function error_get_last()? PHP 5.2 PHP 5.3 PHP 5 PHP 4 PHP 5.2 PHP 5.3 PHP 5 PHP 4 ANSWER DOWNLOAD EXAMIANS APP