A

Admin • 825.56K Points
Coach

Q. Which function returns the number of elements in an array?

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

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