What’s the difference between __sleep and __wakeup?

  • : 292
  • : 3
    Previous Next

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

    you can suggest other answer in comment box

  • Exam: PHP Interview QUESTIONS

    Subscribe here for free mock test on IAS PCS SSC and other competitive exam. Signup here to get SSC CGL Solution and main exam study material