Re: from one hash to another, in an extension
| From: | (Tim Daly, Jr.) | Date: | Wed, 23 Oct 2002 20:57:08 +0000 |
| Subject: | Re: from one hash to another, in an extension | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90025@lists.php.net to get a copy of this message | ||
Andrei Zmievski <andrei.zmievski@fastsearch.com> writes:
> On Wed, 23 Oct 2002, Tim Daly, Jr. wrote:
...
> > zend_hash_find(hash1, "key", strlen("key")+1, (void **)&val);
> > SEPARATE_ZVAL(val);
> > zval_add_ref(val);
> > zend_hash_update(hash2, "key", strlen("key")+1, (void *)val, NULL);
...
> You don't need to SEPARATE_ZVAL() in this case.
I don't need to, or I need not to?
-Tim