> If you want the values to be connected to each other
> (changing one will change the other), you need to set
> is_ref to 1. Otherwise, you don't. In
> any case, you must update the refcount.
OK, thanks. I'll update it now, and once I have my machine back in order
again I'll commit it, so
At 15:36 19/07/2001, Marc Boeren wrote:
> > >(*actual_ptr)->refcount++;
> > >(*actual_ptr)->is_ref =1;
>
> > (a) You only have to set is_ref once.
>
>I only set it once... or is increasing the refcount enough?
No, if you just increase refcount and is_ref is not set, the values will
not be refer
> >(*actual_ptr)->refcount++;
> >(*actual_ptr)->is_ref =1;
> (a) You only have to set is_ref once.
I only set it once... or is increasing the refcount enough?
> (b) If you don't increase the refcount, the behavior is
> undefined, and is likely to end up crashing PHP.
> Not increasing refcou