Php Interview Questions & Answers: part7



Php Interview QUESTIONS AND ANSWERS :: part7 : 6 to 10

Following PHP Multiple choice objective type questions and answers will help you in many software compnaies written examinations and inteview 2015 :

6.Which character do the error_reporting directive use to represent the logical operator NOT?

/
!
~
^

7.Which method is used to tweak an object’s cloning behavior?

clone()
__clone()
_clone
object_clone()

8.Which feature allows us to call more than one method or function of the class in single instruction?

Typecasting
Method Including
Method adding
Method chaining

9.How many error levels are available in PHP?

14
15
16
17

10.If one intends to create a model that will be assumed by a number of closely related objects, which class must be used?

Normal class
Static class
Abstract class
Interface

More Php Interview QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
If your ship doesn’t come in, swim out to meet it!-Jonathan Winters