You should use MAKE_STD_ZVAL().
In the past this macro allocated zval's in a faster way via a cache. It
has been disabled right now but it very probably will be redone a bit and
then re-enabled.
Andi
On Mon, 14 Jan 2002, brad lafountain wrote:
> Can someone explain the difference
> from
>
>
Can someone explain the difference
from
MAKE_STD_ZVAL(val);
and
val = emalloc(sizeof(zval));
INIT_ZVAL(val);
I'm sure that it has to do with deleting memory.
Does MAKE_STD_ZVAL automatically delete your memory. If yes then when does it
delete it?
And if i use the second way then I would ha