Zeev Suraski wrote:
>
> If you're adding elements to a hash you created using array_init(), and
> you're using the standard macros (which apparently you are) - then yes, the
> engine will take care of garbage collection for you.
Thanks a lot, this is what I needed to know, I guess somehow I have
If you're adding elements to a hash you created using array_init(), and
you're using the standard macros (which apparently you are) - then yes, the
engine will take care of garbage collection for you.
At 09:27 PM 5/17/2002, Robert Cummings wrote:
>Zeev Suraski wrote:
> >
> > At 09:04 PM 5/17/20
Zeev Suraski wrote:
>
> At 09:04 PM 5/17/2002, Robert Cummings wrote:
> >To be honest I'm passing the return_value into my recursion
>
> Not sure what you mean by that - return_value is handled by the engine as
> soon as you return from your function implementation, if that's what you're
> askin
At 09:04 PM 5/17/2002, Robert Cummings wrote:
>To be honest I'm passing the return_value into my recursion
Not sure what you mean by that - return_value is handled by the engine as
soon as you return from your function implementation, if that's what you're
asking. If you're using it internally
Zeev Suraski wrote:
>
> At 08:53 PM 5/17/2002, Robert Cummings wrote:
> >Let's say I do:
> >
> > zval *newVar;
> > MAKE_STD_ZVAL( newVar );
> > ZEND_SET_SYMBOL( &EG(symbol_table), "varKey", newVar );
> >
> >and then I do:
> >
> > MAKE_STD_ZVAL( newVar );
> > ZEND_SET_SYMBOL( &
At 08:53 PM 5/17/2002, Robert Cummings wrote:
>Let's say I do:
>
> zval *newVar;
> MAKE_STD_ZVAL( newVar );
> ZEND_SET_SYMBOL( &EG(symbol_table), "varKey", newVar );
>
>and then I do:
>
> MAKE_STD_ZVAL( newVar );
> ZEND_SET_SYMBOL( &EG(symbol_table), "varKey", newVar );
>
>This
Let's say I do:
zval *newVar;
MAKE_STD_ZVAL( newVar );
ZEND_SET_SYMBOL( &EG(symbol_table), "varKey", newVar );
and then I do:
MAKE_STD_ZVAL( newVar );
ZEND_SET_SYMBOL( &EG(symbol_table), "varKey", newVar );
This will overwrite my orignal newVar, however, will the original
n