PHP Exceptions and Error Handling Which of the following statements invoke the exception class? new Exception(); throws new Exception(); throw new Exception(); new throws Exception(); new Exception(); throws new Exception(); throw new Exception(); new throws Exception(); ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version of PHP was added with Exception handling? PHP 6 PHP 5 PHP 4 PHP 5.3 PHP 6 PHP 5 PHP 4 PHP 5.3 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which character do the error_reporting directive use to represent the logical operator NOT? ^ ~ / ! ^ ~ / ! 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 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 Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions? define_variable() define_syslog_variable() log_variable() define_log_variable() define_variable() define_syslog_variable() log_variable() define_log_variable() 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 object Returns the message if it is passed to the constructor 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 object Returns the message if it is passed to the constructor Returns the message if it is passed to the file Returns the message if it is passed to the class ANSWER DOWNLOAD EXAMIANS APP