PHP MCQ Object Oriented Concept of PHP Question #2570
Single Choice Not Set

QWhich one of the following functions is used to determine object type?

ID: #2570 Object Oriented Concept of PHP 1,096 views
Question Info
#2570Q ID
Not SetDifficulty
Object Oriented Concept of PHPTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A obj_type()
  • B type()
  • C is_a()
  • D is_obj()
Correct Answer

Explanation

The is_a() function returns true if object belongs to a class type or if it belongs to a class that is a child of that class. Or else false is returned.

Share This Question

Challenge a friend or share with your study group.