Re: PHP extensions dependencies
| From: | Samuel ROZE | Date: | Fri, 04 May 2012 14:09:44 +0000 |
| Subject: | Re: PHP extensions dependencies | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-9365@lists.php.net to get a copy of this message | ||
> > Is there another way? Is it possible?
>
> Using what call_user_func does and call the function as it was done
> from userland. See php's function doing that for an example (plenty in
> ext/standard :)
First, thanks for your answer! Maybe I didn't well explained what I want: I
don't want to call user functions (that are defined with PHP_FUNCTION) but
internal functions, such as "char* xdebug_error_type(int type)".
I also want to access to the xdebug globals, like it's done inside the
module, "XG(start_time)" for example, returns me the "start_time" field of
the "ZEND_XXXX_MODULE_GLOBALS(xdebug)".
Thanks again! :-)
Sam.