in PHP by

What's the difference between __sleep and __wakeup?

1 Answer

0 votes
by

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

Related questions

0 votes
asked Jun 23, 2019 in PHP by SakshiSharma
0 votes
asked Jun 22, 2019 in PHP by SakshiSharma
0 votes
asked Jun 23, 2019 in PHP by SakshiSharma
...