OK, zend_hash_find and zend_hash_index_find do the trick...

Cheerio, Marc.


>This leads me to another question: how do I obtain the x_ptr (from the
example) if the zend_hash_update was done elsewhere and no ptr was passed
then???

>    zend_hash_update(return_value->value.obj.properties, "x", sizeof("x"),
&value, sizeof(zval *), NULL);
>    [...]
>    // How do I get the x_ptr ???
>    zend_hash_update(return_value->value.obj.properties, "y", sizeof("y"),
&dummy, sizeof(zval *), (void **) &y_ptr);
>    zend_assign_to_variable_reference(NULL, y_ptr, x_ptr, NULL ELS_CC);


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to