A

Admin • 828.03K Points
Coach

Q. Which of the following built-in functions is used to determine object type?

  • (A) is_a()
  • (B) type()
  • (C) obj_type()
  • (D) is_obj()
  • Correct Answer - Option(A)
  • Views: 15
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
The built-in function is_a() returns true if the 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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.