Home » Interview » Technology

What’s the special meaning of __sleep and __wakeup?

Correct Answer: __sleep returns the array of all the variables than need to be saved, while __wakeup retrieves them

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion