Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21460 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63070 invoked by uid 1010); 10 Jan 2006 11:54:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63055 invoked from network); 10 Jan 2006 11:54:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2006 11:54:36 -0000 X-Host-Fingerprint: 80.166.118.130 cpe.atm2-0-71582.0x50a67682.boanxx16.customer.tele.dk Received: from ([80.166.118.130:3428] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 82/C7-54625-B70A3C34 for ; Tue, 10 Jan 2006 06:54:35 -0500 Message-ID: <82.C7.54625.B70A3C34@pb1.pair.com> To: internals@lists.php.net Organization: undercover Date: Tue, 10 Jan 2006 12:54:28 +0100 References: <43364.80.166.118.130.1135244150.squirrel@80.166.118.130> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit User-Agent: Noworyta News Reader/2.9 X-Posted-By: 80.166.118.130 Subject: Re: [PATCH] - Regarding bug/feature-request: #34421 From: thomas@gielfeldt.dk (thomas) Hi Is it possible for someone to take a look at this? Can i get some feedback perhaps? Br, Thomas "Thomas Gielfeldt" wrote: > Hi > > > Here's a patch that updates debug_backtrace() somewhat as requested in > bug/feature-request: #34421 > > > The patch also adds 2 new builtin functions: get_scope() and is_static(). > > > I hope this can be of use to someone and would like to contribute this patch. > > > Contents of patch: > -rw-r--r-- thomas/thomas 4221 Dec 22 08:01 2005 > zend_builtin_functions.c.patch > -rw-r--r-- thomas/thomas 330 Dec 22 08:01 2005 zend_compile.h.patch > -rw-r--r-- thomas/thomas 787 Dec 22 08:01 2005 zend_execute.h.patch > -rw-r--r-- thomas/thomas 3978 Dec 22 08:01 2005 zend_vm_execute.h.patch > -rw-r--r-- thomas/thomas 769 Dec 22 08:02 2005 README > > > > > Modified in archive php-5.1.1.tar.gz (through danish mirror) downloaded on > approx. Dec. 19 16:00 > > > > Description of files and updates: > zend_builtin_functions.c /* $Id: zend_builtin_functions.c,v 1.277.2.6 > 2005/11/24 05:07:27 sebastian Exp $ */ > added get_scope() > added is_static() > updated debug_backtrace() to include "scope" variable in return array > updated debug_print_backtrace() to print scope instead of class > (warning potential BC-issue) > > > zend_compile.h /* $Id: zend_compile.h,v 1.316.2.5 2005/10/20 07:30:42 > dmitry Exp $ */ > added "zend_class_entry *scope" to executor globals > > > zend_execute.h /* $Id: zend_execute.h,v 1.84.2.3 2005/09/19 17:50:24 > dmitry Exp $ */ > added "#define Z_OBJ_CLASS_P" > > > zend_vm_execute.h No version number in file? > added update of executor global scope > > > known bugs: > none so far ... > > > > > > Med venlig hilsen, Best regards > > > Thomas Gielfeldt > > >