nerdexam
Zend

200-710 · Question #183

PHP's array functions such as array_values() can be used on an object if the object...

The correct answer is D. None of the above. See the full explanation below for the reasoning.

Arrays

Question

PHP's array functions such as array_values() can be used on an object if the object...

Options

  • Aimplements Traversable
  • Bis an instance of ArrayObject
  • Cimplements ArrayAccess
  • DNone of the above

How the community answered

(40 responses)
  • A
    15% (6)
  • B
    3% (1)
  • C
    8% (3)
  • D
    75% (30)

Topics

#ArrayAccess#Traversable#array functions on objects#Countable

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice