Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What's the special meaning of __sleep and __wakeup?
Answer: __sleep returns the array of all the variables than need to be saved, while __wakeup retrieves them.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook