Re: Implementing callbacks to class member functions

From: Date: Wed, 11 Aug 2004 00:37:02 +0000
Subject: Re: Implementing callbacks to class member functions
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1114@lists.php.net to get a copy of this message
lxr.php.net is your friend - as the other post mentioned it's the NULL parameter in your example
I need some help implementing callback to a member function of a class. I have succesfully used calls like call_user_function_ex( EG(function_table), NULL, func_name, &retval,1,args,0,NULL TSRMLS CC) where func_name is a function in php script. What I would like to do is call function func1() in code below. for e.g <?php class xyz { function func1() { } } ?> I would appreciate any tips. Thanks for reading my query :). Amit


« previous php.pecl.dev (#1114) next »