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_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 error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which of the following statements invoke the exception class? new throws Exception(); throws new Exception(); new Exception(); throw new Exception(); new throws Exception(); throws new Exception(); new Exception(); throw new Exception(); ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling Which function is responsible for sending a custom message to the system log? syslog() sys_log() log_system() systemlog() syslog() sys_log() log_system() systemlog() 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 Which version of PHP introduced E_STRICT Error level? PHP 5.3 PHP 5.2 PHP 5 PHP 4 PHP 5.3 PHP 5.2 PHP 5 PHP 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Exceptions and Error Handling How many predefined exceptions does SPL provide access to? 14 13 16 15 14 13 16 15 ANSWER DOWNLOAD EXAMIANS APP