What’s the special meaning of __sleep and __wakeup?

Discussion in 'PHP' started by sparkar17, Mar 23, 2010.

  1. #1
    What’s the special meaning of __sleep and __wakeup?
     
    sparkar17, Mar 23, 2010 IP
  2. Alex Roxon

    Alex Roxon Active Member

    Messages:
    424
    Likes Received:
    11
    Best Answers:
    7
    Trophy Points:
    80
    #2
    I quote from Matt Zandstra's PHP Objects, Patterns, and Practice:

     
    Alex Roxon, Mar 23, 2010 IP