zend variable handling
| From: | brad lafountain | Date: | Mon, 14 Jan 2002 20:27:17 +0000 |
| Subject: | zend variable handling | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-77062@lists.php.net to get a copy of this message | ||
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 have to delete my own memory?
- Brad
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/