What’s the special meaning of __sleep and __wakeup? | PHP Questions

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

0 comments:

Post a Comment

Blogger news