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 class Returns the message if it is passed to the constructor Returns the message if it is passed to the object Returns the message if it is passed to the file Returns the message if it is passed to the class Returns the message if it is passed to the constructor Returns the message if it is passed to the object Returns the message if it is passed to the file ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling What is the description of Error level E_ERROR? Fatal run-time error Compile-time error Near-fatal error Fatal Compile-time error Fatal run-time error Compile-time error Near-fatal error Fatal Compile-time error 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 repeated_error_ignore ignore_repeated_errors repeatedly_ignore_error ignore_repeat_error repeated_error_ignore ignore_repeated_errors 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 Only 4 All of the mentioned None of the mentioned 3 and 4 Only 4 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version introduced the function error_get_last()? PHP 5.3 PHP 5 PHP 4 PHP 5.2 PHP 5.3 PHP 5 PHP 4 PHP 5.2 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_ODELAY LOG_PERROR LOG_NDELAY LOG_CONS LOG_ODELAY LOG_PERROR LOG_NDELAY ANSWER DOWNLOAD EXAMIANS APP