PHP Exceptions and Error Handling Which of the following is/are not an exception?1. BadFunctionCallException2. BadMethodCallException3. LogicException4. DomainException 3 and 4 All of the mentioned Only 4 None of the mentioned 3 and 4 All of the mentioned Only 4 None of the mentioned 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_NDELAY LOG_CONS LOG_ODELAY LOG_PERROR LOG_NDELAY LOG_CONS 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_ALL error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which function is responsible for sending a custom message to the system log? syslog() log_system() sys_log() systemlog() syslog() log_system() sys_log() systemlog() ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version of PHP introduced E_STRICT Error level? PHP 5.2 PHP 4 PHP 5.3 PHP 5 PHP 5.2 PHP 4 PHP 5.3 PHP 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which version added the method getPrevious()? PHP 5 PHP 4 PHP 5.3 PHP 5.1 PHP 5 PHP 4 PHP 5.3 PHP 5.1 ANSWER DOWNLOAD EXAMIANS APP