Which of the following is/are an exception?<br/>1. OutOfBoundException<br/>2. OutOfRangeException<br/>3. OverflowException<br/>4. UnderflowException All of the mentioned 1 and 3 1 and 2 None of the mentioned TRUE ANSWER : ? YOUR ANSWER : ?
How many predefined exceptions does SPL provide access to? 16 14 13 15 TRUE ANSWER : ? YOUR ANSWER : ?
Which character do the error_reporting directive use to represent the logical operator NOT? ^ ! ~ / TRUE ANSWER : ? YOUR ANSWER : ?
Which version of PHP was added with Exception handling? PHP 6 PHP 5 PHP 5.3 PHP 4 TRUE ANSWER : ? YOUR ANSWER : ?
Which version of PHP introduced E_STRICT Error level? PHP 5.3 PHP 5 PHP 4 PHP 5.2 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_ERROR | E_COMPILE_ERROR | E_CORE_ERROR error_reporting = E_ALL error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR 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_repeat_error repeated_error_ignore repeatedly_ignore_error ignore_repeated_errors TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following is the right description for the method getMessage() ? 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 object Returns the message if it is passed to the file TRUE ANSWER : ? YOUR ANSWER : ?
Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console? LOG_PERROR LOG_ODELAY LOG_CONS LOG_NDELAY TRUE ANSWER : ? YOUR ANSWER : ?