Q:

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

belongs to collection: OBJECT TOOLS AND VARIABLES IN PHP MCQ

0

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


  1. _method()
  2. methodexists()
  3. is_callable()
  4. is_method()

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (c).is_callable()

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT TOOLS AND VARIABLES IN PHP MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What will be the output if a protected method is g... >>
<< You use the get_class_methods() function to return...