Memory Leaks With Objects in PHP 5
Thursday, September 27th, 2007 (21:44)PHP objects with circular references do not release their memory during garbage collection, or even when you call unset() on the parent object. Read on to find out why, and how to work around it. Maybe a PHP internals developer would care to modify how unset() works?