Re: [PHP-DEV] circular crash testcase From: Andi Gutmans (andi <email protected>)
Date: 08/15/00

At 15:27 15/08/00 +0200, waldschrott wrote:
>>Stas is right in certain contexts but it really depends what you are doing.
>>In any way, what happens with circular references is that you end up
>>having a circle point at itself, when the Zend Engine frees this, one of
>>the memory blocks still has a reference count although nothing is really
>>pointing at it anymore.
>
>Thus we should close that suspended bug "Memory leaks with classes and
>references to objects" cos it is the correct behaviour unless no one
>invents a magic mechanism between garbage collection and our evolution at
>the moment, right?

Yes. If they are circular structures the bug reports can be closed.

Andi

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>