MCQs>IT & Programming>PHP 5>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?
PHP 5 MCQs
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?
Answer
Correct Answer: __sleep()
Explanation:
Note: This Question is unanswered, help us to find answer for this one