Which version of PHP was added with Exception handling? PHP 5 PHP 5.3 PHP 6 PHP 4 TRUE ANSWER : ? YOUR ANSWER : ?
Which version added the method getPrevious()? PHP 5.3 PHP 5 PHP 4 PHP 5.1 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements invoke the exception class? new Exception(); throws new Exception(); new throws Exception(); throw new Exception(); TRUE ANSWER : ? YOUR ANSWER : ?
Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions? define_syslog_variable() log_variable() define_log_variable() define_variable() TRUE ANSWER : ? YOUR ANSWER : ?
What does SPL stand for? Standard PHP Library Source PHP Library Source PHP List Standard PHP List TRUE ANSWER : ? YOUR ANSWER : ?
Which function is responsible for sending a custom message to the system log? sys_log() syslog() systemlog() log_system() 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_ODELAY LOG_NDELAY LOG_PERROR LOG_CONS TRUE ANSWER : ? YOUR ANSWER : ?
Which character do the error_reporting directive use to represent the logical operator NOT? ^ ! ~ / 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 class Returns the message if it is passed to the file Returns the message if it is passed to the constructor Returns the message if it is passed to the object TRUE ANSWER : ? YOUR ANSWER : ?
You can extend the exception base class, but you cannot override any of the preceding methods because the are declared as__________ static final protected private TRUE ANSWER : ? YOUR ANSWER : ?