We've expanded our news coverage and improved our search! Visit news.oreilly.com for the latest or search for all things across O'Reilly!
advertisement

Article:
  Object Overloading in PHP 5
Subject:   _sleep()
Date:   2007-02-26 07:20:05
From:   quark
Isn't it better to use the __sleep() method to persist the data to the database instead of __destruct()?