For some Meta Programming tool for PHP that I am working on it would be
nice to have an additional object field in the array returned by
debug_backtrace()
that contains a reference to the respective object on
the callstack.
After some looking into the zend_fetch_debug_backtrace() function I
wrote a patch that I attached to my RFE [1]. It would be great if
someone with a more intimate knowledge of the Zend Engine's internals
could look at my patch and give me some feedback. (Even greater would be
the acception of this patch :-)
Thanks,
Sebastian
--
[1] http://bugs.php.net/bug.php?id=34986
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69