Zend
200-550 · Question #29
Which of the following tasks can be achieved by using magic methods? (Choose 3)
The correct answer is A. Initializing or uninitializing object data D. Processing access to undefined methods or properties F. Converting objects to string representation. See the full explanation below for the reasoning.
Question
Which of the following tasks can be achieved by using magic methods? (Choose 3)
Options
- AInitializing or uninitializing object data
- BCreating a new stream wrapper
- CCreating an iterable object
- DProcessing access to undefined methods or properties
- EOverloading operators like +, *, etc.
- FConverting objects to string representation
How the community answered
(26 responses)- A77% (20)
- B4% (1)
- C4% (1)
- E15% (4)
Community Discussion
No community discussion yet for this question.