Briefing Zend Knowledge

An object can be counted with count() and sizeof() if it..

An object can be counted with count() and sizeof() if it..

A.
implements ArrayAccess

B.
has a public__count() method

C.
was cast to an object from an array

D.
None of the above

Explanation:
– It must implement the count() method (no underscores)