Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2609 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9271 invoked from network); 23 Jun 2003 14:20:40 -0000 Received: from unknown (HELO localhost.localdomain) (65.198.110.7) by pb1.pair.com with SMTP; 23 Jun 2003 14:20:40 -0000 Received: (from andrei@localhost) by localhost.localdomain (8.11.6/8.11.6) id h5NEK7202563 for internals@lists.php.net; Mon, 23 Jun 2003 10:20:07 -0400 X-Authentication-Warning: localhost.localdomain: andrei set sender to andrei@gravitonic.com using -f Date: Mon, 23 Jun 2003 10:20:07 -0400 To: internals@lists.php.net Message-ID: <20030623142004.GB2429@hyperion.gravitonic.com> Mail-Followup-To: Andrei Zmievski , internals@lists.php.net References: <20030620185739.GB1502@chasey.revelex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030620185739.GB1502@chasey.revelex.com> User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] call_user_function/wddx_serialize_vars Question From: andrei@gravitonic.com (Andrei Zmievski) 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