PHP Exceptions and Error Handling Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions? define_log_variable() log_variable() define_syslog_variable() define_variable() define_log_variable() log_variable() define_syslog_variable() define_variable() ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling What is the description of Error level E_ERROR? Near-fatal error Compile-time error Fatal Compile-time error Fatal run-time error Near-fatal error Compile-time error Fatal Compile-time error Fatal run-time error 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_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ALL ANSWER DOWNLOAD EXAMIANS APP
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 Which function is responsible for sending a custom message to the system log? log_system() syslog() sys_log() systemlog() log_system() syslog() sys_log() systemlog() 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_ODELAY LOG_PERROR LOG_CONS LOG_NDELAY LOG_ODELAY LOG_PERROR LOG_CONS LOG_NDELAY ANSWER DOWNLOAD EXAMIANS APP