PHP Exceptions and Error Handling Which function is responsible for sending a custom message to the system log? sys_log() syslog() systemlog() log_system() sys_log() syslog() systemlog() log_system() 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_PARSE | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR 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 class Returns the message if it is passed to the file 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 class Returns the message if it is passed to the file ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many predefined exceptions does SPL provide access to? 14 15 16 13 14 15 16 13 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_CONS LOG_NDELAY LOG_PERROR LOG_ODELAY LOG_CONS LOG_NDELAY LOG_PERROR 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