Zend
200-550 · Question #32
SimpleXML provides the ability to iterate over items in an XML document, as well as access items within it as if they were object properties. When creating your own classes to access data…
The correct answer is A. __toString. See the full explanation below for the reasoning.
Question
SimpleXML provides the ability to iterate over items in an XML document, as well as access items within it as if they were object properties. When creating your own classes to access data, implementing which of the following would NOT achieve this goal?
Options
- A__toString
- BIterator
- C__get/__set
- DArrayAccess
How the community answered
(43 responses)- A79% (34)
- B5% (2)
- C14% (6)
- D2% (1)
Community Discussion
No community discussion yet for this question.