<<< Previous question <<< Question ID#0532.md >>> Next question >>>
When an object is serialized, which method will be called, automatically, providing your object with an opportunity to close any resources or otherwise prepare to be serialized?
- A) __sleep()
- B) __destroy()
- C) __serialize()
- D) __destruct()
Answer
Answer: A