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.
implementsArrayAccess

B.
has a public __count() method

C.
was cast to an object from an array

D.
None of the above