A

Admin • 832.27K Points
Coach

Q. How can you get the length of an array in PHP?

  • (A) length()
  • (B) size()
  • (C) count()
  • (D) array_length()
  • Correct Answer - Option(C)
  • Views: 23
  • 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.