Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19724 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94292 invoked by uid 1010); 26 Oct 2005 09:18:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94277 invoked from network); 26 Oct 2005 09:18:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Oct 2005 09:18:26 -0000 X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from ([80.91.229.2:34261] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DC/1A-22886-0E94F534 for ; Wed, 26 Oct 2005 05:18:24 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EUhO9-0000Qy-Gj for internals@lists.php.net; Wed, 26 Oct 2005 11:16:05 +0200 Received: from p50887c78.dip.t-dialin.net ([80.136.124.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Oct 2005 11:16:05 +0200 Received: from sb by p50887c78.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Oct 2005 11:16:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Wed, 26 Oct 2005 11:14:13 +0200 Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: p50887c78.dip.t-dialin.net User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: de-DE, de, en-us, en Sender: news Subject: RFE 34986: Adding an object field to debug_backtrace() From: sb@sebastian-bergmann.de (Sebastian Bergmann) 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