Results 1 to 15 of 15
Thread: emulate __destruct() in PHP4
Aug 15, 2005, 10:16 #1
- Join Date
- Jun 2004
- 0 Post(s)
- 0 Thread(s)
emulate __destruct() in PHP4
Is there an elegant way to emulate a destructor in PHP4?
register_shutdown_function() won't work, since it doesn't get called if the object is unset() or reassigned, etc.
Any thoughts? Thanks very much.