A

Admin • 832.70K Points
Coach

Q. Which function is used to get the length of an array in PHP?

  • (A) count()
  • (B) length()
  • (C) sizeof()
  • (D) array_length()
  • Correct Answer - Option(A)
  • Views: 20
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

count() returns the number of elements in an array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.