Zend
200-530 · Question #456
Which of the following methods is called to directly echo or print() an object?
The correct answer is C. _toString(). Zend 200-530 Exam
Object-Oriented Programming
Question
Which of the following methods is called to directly echo or print() an object?
Options
- A_isset()
- B_set_state()
- C_toString()
- D_unset()
How the community answered
(33 responses)- A18% (6)
- B3% (1)
- C70% (23)
- D9% (3)
Explanation
Zend 200-530 Exam
Topics
#__toString#magic methods#object to string#echo object
Community Discussion
No community discussion yet for this question.