On Fri, 2005-12-09 at 00:21, Alan Pinstein wrote: > > And, if it's just lucky, then what is the solution to the problem? Am > I just SOL? Is the answer simply that if you *need* to create > circular references in PHP, then you *must* accept memory leakage?
If you know you have a circular reference you can always use unset() to break the reference and thus break the circle. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php