Google News
logo
PHP - Interview Questions
What's the difference between __sleep and __wakeup?
__sleep returns the array of all the variables that need to be saved, while __wakeup retrieves them.
Advertisement