Re: Implementing callbacks to class member functions
| From: | Justin Hannus | Date: | Wed, 11 Aug 2004 00:15:44 +0000 |
| Subject: | Re: Implementing callbacks to class member functions | ||
| References: | 1 | Groups: | php.pecl.dev php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1113@lists.php.net to get a copy of this message | ||
Amit Sharma wrote:
call_user_function_ex( EG(function_table), NULL, func_name, &retval,1,args,0,NULL TSRMLS CC)The second parameter to call_user_function[_ex] should be a zval ** containing the object to call methods from. Check out ext/standard/basic_functions.c for some examples. -Justin