Which version of PHP introduced E_STRICT Error level? PHP 5.3 PHP 5.2 PHP 5 PHP 4 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements invoke the exception class? throw new Exception(); new throws Exception(); new Exception(); throws new Exception(); TRUE ANSWER : ? YOUR ANSWER : ?
How many predefined exceptions does SPL provide access to? 14 16 15 13 TRUE ANSWER : ? YOUR ANSWER : ?
Which character do the error_reporting directive use to represent the logical operator NOT? ~ / ^ ! TRUE ANSWER : ? YOUR ANSWER : ?
What does SPL stand for? Source PHP Library Standard PHP Library Standard PHP List Source PHP List TRUE ANSWER : ? YOUR ANSWER : ?
Which version introduced the function error_get_last()? PHP 5.2 PHP 5 PHP 5.3 PHP 4 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements causes PHP to disregard repeated error messages that occur within the same file and on the same line? ignore_repeated_errors ignore_repeat_error repeatedly_ignore_error repeated_error_ignore TRUE ANSWER : ? YOUR ANSWER : ?
Which function is responsible for sending a custom message to the system log? log_system() syslog() sys_log() systemlog() TRUE ANSWER : ? YOUR ANSWER : ?
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_PARSE | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR TRUE ANSWER : ? YOUR ANSWER : ?