A

Admin • 833.24K Points
Coach

Q. Which PHP interface allows count() to work on objects?

  • (A) Countable
  • (B) Iterable
  • (C) Iterator
  • (D) ArrayAccess
  • Correct Answer - Option(A)
  • Views: 22
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

Countable enables count() on objects.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.