Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51813 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18507 invoked from network); 5 Apr 2011 01:56:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Apr 2011 01:56:52 -0000 Authentication-Results: pb1.pair.com header.from=mail_ben_schmidt@yahoo.com.au; sender-id=unknown; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=mail_ben_schmidt@yahoo.com.au; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain yahoo.com.au from 98.138.91.59 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mail_ben_schmidt@yahoo.com.au X-Host-Fingerprint: 98.138.91.59 nm19-vm0.bullet.mail.ne1.yahoo.com Received: from [98.138.91.59] ([98.138.91.59:47530] helo=nm19-vm0.bullet.mail.ne1.yahoo.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/E3-16998-2E67A9D4 for ; Mon, 04 Apr 2011 21:56:51 -0400 Received: from [98.138.90.57] by nm19.bullet.mail.ne1.yahoo.com with NNFMP; 05 Apr 2011 01:56:47 -0000 Received: from [98.138.89.168] by tm10.bullet.mail.ne1.yahoo.com with NNFMP; 05 Apr 2011 01:56:47 -0000 Received: from [127.0.0.1] by omp1024.mail.ne1.yahoo.com with NNFMP; 05 Apr 2011 01:56:47 -0000 X-Yahoo-Newman-Id: 83142.61942.bm@omp1024.mail.ne1.yahoo.com Received: (qmail 84752 invoked from network); 5 Apr 2011 01:56:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=EJqD7PQc8o6EIi8JRBfkzWReku8RWqRv1hnjdpDYyLjsx0ZuwEJnVkrm3pPiaQswF2lHsyQuMe92Z6wLz5Or/0P9gyODe/AjtuBBNJBSDSNkfG3D0sAoh46HjJX5LZQS+ZhgJcUhbMTb3q5Kq7Ai2vpcz0xgiZe1SOXwOi4e7Qk= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s1024; t=1301968606; bh=RNQqIjGg7w4YfaHG4KX0nwKOiFB7KW1IoA+M9LVrGo4=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=MZcbopntNCTwzkrq5ZMXtpIerbAiAij7fsjX1y8H6COnp9JZEdZk0meVi2RUT6PvN8TpELyKJnydqRbVmP3fQCpHmWsPNfkci1Wr5+cyGrRmTLocKpdgXS8gsrim+LIz4RH1N/4WbklUYCd9njZEE46ejZFlvf7NXlMlRRsCzZo= Received: from thought.local (mail_ben_schmidt@203.217.77.103 with plain) by smtp129.mail.mud.yahoo.com with SMTP; 04 Apr 2011 18:56:45 -0700 PDT X-Yahoo-SMTP: enFMnPSswBAexaHyzgobwuUTrYOhZdJ0KRA2SjA- X-YMail-OSG: HdPfOx4VM1nxzN1z731wDgKk5WBCT4iyJQs00x3rlIoDso5 FC19eh4_twofBpdEHblxX2nLq48QMHe3BlAg.xuuxDQmgeez92y7OY0OzH_J FCxNa5W47PLwTZqbMZCIs3cXyyKUiWPYeGLnd0rZrHhNhtKtRDqLp489nllE fH4afdQndRSQRAKhf18JajjFbwTdyNVwPxxw6WkQHomO9bq3xUZPRxWEUAAW I.tzVm2GL4mPkfDGY2GWuiddyPvtWxpofx_iS8C_xCdy1Z.32KqyIcK_Oo8G O271rhU8XSCcT10XOReH96L4jZNfldDOyKSBk24XrUX.4zTEbVsM6abUpnM2 Kxp4KiIQUnjCJSVpFcvWHcPE- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4D9A76DB.7080806@yahoo.com.au> Date: Tue, 05 Apr 2011 11:56:43 +1000 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: internals@lists.php.net References: <4D99E241.4050100@php.net> In-Reply-To: <4D99E241.4050100@php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Optional $limit argument for debug_backtrace() From: mail_ben_schmidt@yahoo.com.au (Ben Schmidt) Good idea. Have you considered how Xdebug does this kind of thing (through configuration directives, IIRC--I know it uses such things for var_dump) and whether that might suggest a better or more future-proof approach? Ben. On 5/04/11 1:22 AM, Sebastian Bergmann wrote: > https://gist.github.com/901579 is a patch against trunk that adds an > optional $limit argument to debug_backtrace() to limit the number of > frames returned. > > Any thoughts? >