PHP Exceptions and Error Handling Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions? define_variable() define_log_variable() define_syslog_variable() log_variable() define_variable() define_log_variable() define_syslog_variable() log_variable() 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 What is the description of Error level E_ERROR? Fatal Compile-time error Fatal run-time error Near-fatal error Compile-time error Fatal Compile-time error Fatal run-time error Near-fatal error Compile-time error ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following is/are an exception?1. OutOfBoundException2. OutOfRangeException3. OverflowException4. UnderflowException 1 and 2 All of the mentioned 1 and 3 None of the mentioned 1 and 2 All of the mentioned 1 and 3 None of the mentioned 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? ignore_repeat_error repeatedly_ignore_error repeated_error_ignore ignore_repeated_errors ignore_repeat_error repeatedly_ignore_error repeated_error_ignore ignore_repeated_errors 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_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR ANSWER DOWNLOAD EXAMIANS APP