Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9610 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19083 invoked by uid 1010); 29 Apr 2004 09:04:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 19059 invoked by uid 1007); 29 Apr 2004 09:04:05 -0000 Message-ID: <20040429090405.19057.qmail@pb1.pair.com> To: internals@lists.php.net Date: Thu, 29 Apr 2004 11:04:05 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114 X-Accept-Language: en-us, en, de-ch MIME-Version: 1.0 References: <20040429052850.23111.qmail@pb1.pair.com> In-Reply-To: <20040429052850.23111.qmail@pb1.pair.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 195.226.9.103 Subject: Re: call_user_function wrong number of parameters? From: cschneid@cschneid.com (Christian Schneider) Bill Zeller wrote: > if (call_user_function(CG(function_table), NULL, func_name,&retval_ptr, > 2,params) == SUCCESS) { > > ZEND_API int call_user_function(HashTable *function_table, zval **object_pp, > zval *function_name, zval *retval_ptr, zend_uint param_count, zval *params[] > TSRMLS_DC); Without having a lot of experience and without trying it it looks like TSRMLS_CC is missing in your function call. - Chris