Q. Which PHP function checks whether a variable is callable?

  • (A) callable()
  • (B) is_callable()
  • (C) function_callable()
  • (D) check_callable()
πŸ’¬ Discuss
βœ… Correct Answer: (B) is_callable()
Explanation: is_callable() checks if a variable can be called as a function.
Explanation by: Mr. Dubey
is_callable() checks if a variable can be called as a function.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
70
Total Visits
πŸ“½οΈ
10 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate