Re: call_user_function wrong number of parameters?

From: Date: Thu, 29 Apr 2004 09:04:05 +0000
Subject: Re: call_user_function wrong number of parameters?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-9610@lists.php.net to get a copy of this message
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

« previous php.internals (#9610) next »