WordPress Development Question:
Download Questions PDF

How to find out number of parameters passed into function?

Answer:

func_num_args() function returns the number of parameters passed in.

Download WordPress Expert Interview Questions And Answers PDF

Previous QuestionNext Question
How to call constructor for a parent class?Will comparison of string "10″ and integer 11 work in PHP?