ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
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()?