Choose a topic to test your knowledge and improve your PHP skills
The practice of separating the user from the true inner workings of an application through well-known interfaces is known as _____
Which of the following term originates from the Greek language that means βhaving multiple forms,β defines OOPβs ability to redefine, a classβs characteristics?
The practice of creating objects based on predefined classes is often referred to as _____
Which one of the following property scopes is not supported by PHP?
Which one of the following can be used to instantiate an object in PHP assuming class name to be Foo?
Which one of the following is the right way to define a constant?
Which one of the following is the right way to call a class constant,given that the class is mathFunction?
Which one of the following is the right way to invoke a method?
Which method scope prevents a method from being overridden by a subclass?
PHP recognizes constructors by the name _____
Which version of PHP introduced the instanceof keyword?
Which one of the following functions is used to determine whether a class exists?
Which one of the following functions is used to determine object type?
Which one of the following keyword is used to inherit our subclass into a superclass?
Which keyword is used to refer to properties or methods within the class itself?
Which keyword allows class members (methods and properties) to be used without needing to instantiate a new instance of the class?
Which version of PHP introduced the advanced concepts of OOP?
Which one of the following is the right way to clone an object?
If one intends to create a model that will be assumed by a number of closely related objects,which class must be used?
If your object must inherit behavior from a number of sources you must use a/an
Which method is used to tweak an objectβs cloning behavior?
Which feature allows us to call more than one method or function of the class in single instruction?
Which magic method is used to implement overloading in PHP?
How many error levels are available in PHP?
What is the description of Error level E_ERROR?
Which version of PHP introduced E_STRICT Error level?
Which character does the error_reporting directive use to represent the logical operator NOT?
Say you want to report error concerned about fatal run-time,fatal compile-time error and core error which statement would you use?
Which version introduced the function error_get_last()?
Which of the following statements causes PHP to disregard repeated error messages that occur within the same file and on the same line?
Which function initializes the constants necessary for using the openlog(),clodelog(),and syslog() functions?
Which logging optionβs description is if an error occurs when writing to the syslog, send output to the system console?
Which function is responsible for sending a custom message to the system log?
Which version of PHP was added with Exception handling?
How many methods are available for the exception class?
Which version added the method getPrevious()?
Which of the following statements invoke the exception class?
Which one of the following is the right description for the method getMessage()?
You can extend the exception base class,but you cannot override any of the preceding methods because the are declared as_________
What does SPL stand for?
How many predefined exceptions does SPL provide access to?
How many types of filtering are present in PHP?
Which one of the following filter is used to filter several variables with the same or different filters?
Which one of the following does not describe a validating filter?
Which one of the following filter checks if the variable of the specified type exists?
Which one of the following regular expression matches any string containing zero or one p?
[:alpha:] can also be specified as ________
How many functions does PHP offer for searching strings using POSIX style regular expression?
POSIX implementation was deprecated in which version of PHP?
POSIX stands for _________