1.

What is difference between __sleep and __wakeup()?

Answer»
_sleep()_wakeup()
It is USED to return the ARRAY of all the VARIABLES which NEED to be saved.It is used to retrieve all the arrays RETURNED by the _sleep() command.
It is executed before the serialize() command.Is executed before the unserialize() command.


Discussion

No Comment Found