Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7664 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79710 invoked by uid 1010); 9 Feb 2004 14:23:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79684 invoked from network); 9 Feb 2004 14:23:12 -0000 Received: from unknown (HELO iko.gotobg.net) (80.168.8.116) by pb1.pair.com with SMTP; 9 Feb 2004 14:23:12 -0000 Received: from cpanel by iko.gotobg.net with local (Exim 4.24) id 1AqCJe-0004AN-Qd for internals@lists.php.net; Mon, 09 Feb 2004 16:23:14 +0200 Received: from gate.dorten.com (gate.dorten.com [212.9.189.193]) by www.hristov.com (IMP) with HTTP for ; Mon, 9 Feb 2004 16:23:14 +0200 Message-ID: <1076336594.402797d2b4ab0@www.hristov.com> Date: Mon, 9 Feb 2004 16:23:14 +0200 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 212.9.189.193 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [32001 32001] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com Subject: Additional param for debug_print_backtrace() ? From: php@hristov.com Hi internals, I have created a small patch for debug_print_backtrace() that adds the possibility the string representation of the backtrace in printed form to be returned as string (as it is with print_r() currently). The patch is available at : http://andrey.hristov.com/projects/php_stuff/patches/debug_print_backtrace_ret_string.diff.txt Ideas or comments? I would like to see it applied since it's faster (to type) to pass true value to the function than using output buffering in userland which needs 3 additional lines of code. Andrey