Q. Which magic method is called when an object is converted to string? (A) __string() (B) __toString() (C) __convert() (D) __print() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) __toString() Explanation: __toString() defines string representation.