A

Admin • 833K Points
Coach

Q. How do you check if a variable is an array in PHP?

  • (A) is_array()
  • (B) array_check()
  • (C) check_array()
  • (D) var_is_array()
  • Correct Answer - Option(A)
  • Views: 34
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

is_array() returns true if the variable is an array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.