Examveda
Examveda

If you call a method and it doesn’t exist it’ll cause a problem. To check the method which function will you use?

A. _method()

B. methodexists()

C. is_callable()

D. is_method()

Answer: Option C

Solution(By Examveda Team)

There is another method which you can use – method_exists() for similar purpose.

This Question Belongs to PHP >> Object Oriented Concept

Join The Discussion

Related Questions on Object Oriented Concept