Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console? LOG_NDELAY LOG_PERROR LOG_CONS LOG_ODELAY TRUE ANSWER : ? YOUR ANSWER : ?
How many predefined exceptions does SPL provide access to? 15 13 14 16 TRUE ANSWER : ? YOUR ANSWER : ?
Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions? define_log_variable() define_syslog_variable() log_variable() define_variable() TRUE ANSWER : ? YOUR ANSWER : ?
What does SPL stand for? Standard PHP Library Standard PHP List Source PHP Library Source PHP List TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements invoke the exception class? throws new Exception(); new throws Exception(); new Exception(); throw new Exception(); TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is/are an exception?<br/>1. OutOfBoundException<br/>2. OutOfRangeException<br/>3. OverflowException<br/>4. UnderflowException None of the mentioned All of the mentioned 1 and 3 1 and 2 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 constructor Returns the message if it is passed to the class Returns the message if it is passed to the file TRUE ANSWER : ? YOUR ANSWER : ?
Which version added the method getPrevious()? PHP 5.1 PHP 4 PHP 5 PHP 5.3 TRUE ANSWER : ? YOUR ANSWER : ?
Which version of PHP introduced E_STRICT Error level? PHP 5 PHP 4 PHP 5.2 PHP 5.3 TRUE ANSWER : ? YOUR ANSWER : ?