Re: call user defined function with args

From: Date: Fri, 27 Apr 2012 06:51:10 +0000
Subject: Re: call user defined function with args
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-60329@lists.php.net to get a copy of this message
Hi: you can refer to zif_call_user_func, which could be find at http://lxr.php.net/opengrok/xref/PHP_5_4/ext/standard/basic_functions.c#4714 thanks On Fri, Apr 27, 2012 at 12:43 PM, Yader Hernandez <yader.hernandez@gmail.com> wrote: > Hello, > > I found this zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache > *fci_cache TSRMLS_DC) and many examples using it. I can successfully call > this and it will call the user function for me. I'm interested in learning > how to not only call the function, but also pass arguments to that function. > > Can anyone please point me to where I can see how that's done? > > thx -- Laruence  Xinchen Hui http://www.laruence.com/

« previous php.internals (#60329) next »