Hi Andi Gutmans, you wrote:
> You can just create a new zval by using
> MAKE_STD_ZVAL() and setting the relevant fields.
Fair enough; I was searching for kinda ZVAL_OBJ[ECT]()
macro at second, without success...
> If you get stuck let me know.
A tiny piece of code would help a lot :)
I can't imagine how to do that right now,
because I don't have the zend_object_handle.
If you scroll down to approx. the middle of the
code here http://iworks.at/~mike/apr/apr.c there's
the definition of an APR_Ring object being kind of
a doule-linked list.
Now if I want to introduce a walk method going along
the objects to call_user_function_ex() on them I need
a zval to pass as parameter.
Thanks,
--
Michael - < mike(@)php.net >