PHP Exceptions and Error Handling Which of the following statements invoke the exception class? throws new Exception(); throw new Exception(); new throws Exception(); new Exception(); throws new Exception(); throw new Exception(); new throws Exception(); new Exception(); ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Say you want to report error concerned about fatal run-time, fatal compile-time error and core error which statement would you use? error_reporting = E_ALL error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following is/are not an exception?1. BadFunctionCallException2. BadMethodCallException3. LogicException4. DomainException Only 4 None of the mentioned All of the mentioned 3 and 4 Only 4 None of the mentioned All of the mentioned 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version of PHP introduced E_STRICT Error level? PHP 4 PHP 5.3 PHP 5.2 PHP 5 PHP 4 PHP 5.3 PHP 5.2 PHP 5 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() log_variable() define_log_variable() define_syslog_variable() define_variable() log_variable() define_log_variable() define_syslog_variable() ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many methods are available for the exception class? 6 8 7 5 6 8 7 5 ANSWER DOWNLOAD EXAMIANS APP