Re: [PHP-DEV] 回复: [PHP-DEV] How should I call a PHP function

2014-08-18 Thread Derick Rethans
On Mon, 18 Aug 2014, Wei Dai wrote: > > I'm trying to call a function inside a module, a PHP_FUNCTION. > > > > Other than zend_eval_stringl, what's the direct way to do it? > > Please refer to call_user_function and call_user_function_ex. Actually, you need to be careful with this. If you are ca

Re: [PHP-DEV] 回复: [PHP-DEV] How should I call a PHP function

2014-08-18 Thread Johannes Schlüter
On Mon, 2014-08-18 at 10:37 +0800, Wei Dai wrote: > Hi, > > Hi, > > > > I'm trying to call a function inside a module, a PHP_FUNCTION. > > > > Other than zend_eval_stringl, what's the direct way to do it? > Please refer to call_user_function and call_user_function_ex. See also the set of zend_c

Re: [PHP-DEV] 回复: [PHP-DEV] How should I call a PHP function

2014-08-18 Thread Chris Wright
On 18 August 2014 03:37, Wei Dai wrote: > Hi, >> Hi, >> >> I'm trying to call a function inside a module, a PHP_FUNCTION. >> >> Other than zend_eval_stringl, what's the direct way to do it? > Please refer to call_user_function and call_user_function_ex. ...and along these lines, when you need to