Re: 回复: [PECL-DEV] PHP extensions d ependencies
| From: | Samuel ROZE | Date: | Fri, 04 May 2012 15:00:16 +0000 |
| Subject: | Re: 回复: [PECL-DEV] PHP extensions d ependencies | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-9370@lists.php.net to get a copy of this message | ||
Le 4 mai 2012 16:41, "Derick Rethans" <derick@php.net> a écrit :
> The functions are not exported, so don't expect this to work everywhere.
> Also, the extension dependency might be wonky as Xdebug is a Zend
> extension. I'm also not going to support this :-)
My extension is also loaded as a zend extension, with the same model that
xdebug have.
To be more precise, I replace the original zend_error_cb with mine, do
stuff with this error and then callback the original error handler!
In this stuff, I want to access to the stack trace, which xdebug have in
its "stack" global var, and call some extremely interesting functions that
I don't want to copy in my extension...
So, you said that it isn't possible by the way Reeze purposed, and I think
you're right... :-/ Do you have any ideas about what I can do that?
(Without making a copy of xdebug code)
Thanks! :-)
Sam.