React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in PHP by

What's the difference between __sleep and __wakeup?

Click here to read more about DevOps

1 Answer

0 votes
by

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

Related questions

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