On Tue, Jun 17, 2003 at 10:24:46AM -0400, Ilia A. wrote:

> The old check has a problem, because $b & $c are write only copies *src_entry 
> == *dest_entry condition is met and the function incorrectly terminates 
> claiming a circular reference. We cannot use is_ref field to verify 
> references since that field is always 0 no matter what. So, we rely on an 
> interesting property of refcount, which causes refcount to be odd when we 
> have a reference and even we simply have a write only copy.
 
Golly, that sounds like a swell thing to document alongside of the
code.

-- 
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to