ng(hash, key, value, 0);
}
Thanks for your help and your patience :)
AntP
2008/9/10 mr esnafrao <[EMAIL PROTECTED]>
> Thanks for your response, but I'm unable to make it work. I have changed
> the code, and it works with strings and even with arrays, but not with
> has
Thanks for your response, but I'm unable to make it work. I have changed the
code, and it works with strings and even with arrays, but not with hashes:
Am I missing something?
zval *hash;
zval **args[2], *func, *retval;
zval *str;
MAKE_STD_ZVAL(retval);
MAKE_STD_ZVAL(func);
ZVAL_STRIN
Hi all,
I'm having problems passing an array to the function call_user_function as
parameter. This is the code:
zval *args[3], *func, *retval;
MAKE_STD_ZVAL(func);
MAKE_STD_ZVAL(retval);
MAKE_STD_ZVAL(args[0]);
MAKE_STD_ZVAL(args[1]);
MAKE_STD_ZVAL(args[2]);
ALLOC_HASH