PHP Exceptions and Error Handling Which of the following statements invoke the exception class? new Exception(); new throws Exception(); throws new Exception(); throw new Exception(); new Exception(); new throws Exception(); throws new Exception(); throw new Exception(); ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version of PHP was added with Exception handling? PHP 5.3 PHP 6 PHP 4 PHP 5 PHP 5.3 PHP 6 PHP 4 PHP 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which function is responsible for sending a custom message to the system log? systemlog() log_system() syslog() sys_log() systemlog() log_system() syslog() sys_log() 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_ODELAY LOG_NDELAY LOG_CONS LOG_PERROR LOG_ODELAY LOG_NDELAY ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version introduced the function error_get_last()? PHP 5.3 PHP 5 PHP 5.2 PHP 4 PHP 5.3 PHP 5 PHP 5.2 PHP 4 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 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 Returns the message if it is passed to the file Returns the message if it is passed to the object ANSWER DOWNLOAD EXAMIANS APP