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_CONS LOG_NDELAY TRUE ANSWER : ? YOUR ANSWER : ?
What does SPL stand for? Source PHP Library Standard PHP Library Source PHP List Standard PHP List 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? repeated_error_ignore ignore_repeated_errors repeatedly_ignore_error ignore_repeat_error TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements invoke the exception class? new throws Exception(); new Exception(); throws new Exception(); throw new Exception(); 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 object Returns the message if it is passed to the class Returns the message if it is passed to the constructor Returns the message if it is passed to the file TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is/are not an exception?<br/>1. BadFunctionCallException<br/>2. BadMethodCallException<br/>3. LogicException<br/>4. DomainException Only 4 All of the mentioned 3 and 4 None of the mentioned TRUE ANSWER : ? YOUR ANSWER : ?
What is the description of Error level E_ERROR? Compile-time error Near-fatal error Fatal run-time error Fatal Compile-time error TRUE ANSWER : ? YOUR ANSWER : ?
Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions? define_log_variable() log_variable() define_syslog_variable() define_variable() 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_COMPILE_WARNING | E_CORE_ERROR error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR TRUE ANSWER : ? YOUR ANSWER : ?