On 18 August 2014 03:37, Wei Dai <zxcvda...@gmail.com> 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 do something that is done in other parts of the codebase, take a look at how those other parts do them - searching lxr for "call_user_func" led me straight to http://lxr.php.net/xref/PHP_5_6/ext/standard/basic_functions.c#4738 ;-) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php