Re: 回复: [PECL-DEV] PHP extensions dependencies

From: Date: Fri, 04 May 2012 14:44:05 +0000
Subject: Re: 回复: [PECL-DEV] PHP extensions dependencies
References: 1 2 3 4 5 6  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-9369@lists.php.net to get a copy of this message
Hi, Thanks! So I've got another question: How can I link xdebug (or simpler, an other extension) to mine? Is the CodeGen tool makes the work in the config.m4 file? Best regards, Sam. Le 4 mai 2012 16:32, "Reeze" <reeze.xia@gmail.com> a écrit : > Hi, samuel: > I think you need include xdebug's header files and link against it, and > add extension dependency info > @see > http://php-baustelle.de/CodeGen_PECL/manual.html#AEN224 > http://lxr.php.net/xref/PHP_5_4/Zend/zend_modules.h#71 > > Thanks. > -- > reeze | simpie.com > > 在 2012年5月4日星期五,下午10:09,Samuel ROZE 写道: > > 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. > > >

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