Re: call_user_function/wddx_serialize_vars Question
| From: | Andrei Zmievski | Date: | Mon, 23 Jun 2003 14:20:07 +0000 |
| Subject: | Re: call_user_function/wddx_serialize_vars Question | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2609@lists.php.net to get a copy of this message | ||
On Fri, 20 Jun 2003, Jeraimee Hughes wrote:
> zval *params;
> zval *function_name;
> zval *params_wddx = NULL;
> zval *params_array;
[snipped]
> add_index_zval(params_array, 0, params);
>
> if (FAILURE == call_user_function(CG(function_table), NULL, function_name, ¶ms_wddx,
> 1, ¶ms_array TSRMLS_CC)) {
> zend_printf("%s\n", *function_name);
> zend_error(E_ERROR, "Function call failed");
> }
params_array is supposed to be an array of pointers to zval**.
-Andrei
"Then again, E=mc^2 may only be a local phenomenon."
-- Einstein