nerdexam
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)
  • A
    18% (6)
  • B
    3% (1)
  • C
    70% (23)
  • D
    9% (3)

Explanation

Zend 200-530 Exam

Topics

#__toString#magic methods#object to string#echo object

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice