Re: cvs: php4 /ext/standard var.c
| From: | Stanislav Malyshev | Date: | Tue, 07 Nov 2000 15:34:24 +0000 |
| Subject: | Re: cvs: php4 /ext/standard var.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-2514@lists.php.net to get a copy of this message | ||
HH>> > stas Tue Nov 7 07:06:43 2000 EDT
HH>> > Andi says it should be zval_ptr_dtor
HH>>
HH>> can you translate this into 'human-speak' ?
Well, exactly what I said - in the said place, zval_ptr_dtor should be
used instead of dtor and FREE. That's because zval_ptr_dtor accounts for
reference counting, etc., while dtor just erases the variable.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106