A

Admin • 828.03K Points
Coach

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

  • (A) count()
  • (B) sizeof()
  • (C) length()
  • (D) Both option1 and option2
  • Correct Answer - Option(D)
  • Views: 9
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
count() and sizeof() both return 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.