Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51812 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51012 invoked from network); 4 Apr 2011 17:37:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Apr 2011 17:37:49 -0000 Authentication-Results: pb1.pair.com header.from=patrick.allaert@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-ew0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:60359] helo=mail-ew0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/51-63734-BE10A9D4 for ; Mon, 04 Apr 2011 13:37:48 -0400 Received: by ewy2 with SMTP id 2so1682590ewy.29 for ; Mon, 04 Apr 2011 10:37:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WEXUijCqzbZxJeO84f7g1KJ4AYoEWaTzj0n8r2RWVDc=; b=oL4a5caqWG49Yhp/i5/2l1XAnDiZboeDgzTJwhikE15ZiXI8rgJXSgNt+2joA8bBP2 sRx3v1swLcbjerrtv2dkUe3/dhEEdhMpCuWU+DZViweYfFUUjUUxY+JQWhiKq0uFSGmm yqnhGkM/g+sBX9KKflfLxdF5uk6gFJECv80Nw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=ftfT+y2i4g2qR3oG0F7z3zyHJmt+/3hECubj71dWK3YmLCvrzfVu7ZIwR0il5/eljL atQK7Krpfj6S0+k67ereZJERk/laopLb5SZE6emV1w2SMAkCX+uJRgdLHQW1YlroxuxQ F8x9RnFXqol7BrS2wZrHYbXP/bdQ97mFgvAc8= MIME-Version: 1.0 Received: by 10.213.29.211 with SMTP id r19mr1734423ebc.119.1301938664909; Mon, 04 Apr 2011 10:37:44 -0700 (PDT) Sender: patrick.allaert@gmail.com Received: by 10.213.17.16 with HTTP; Mon, 4 Apr 2011 10:37:44 -0700 (PDT) In-Reply-To: <4D99E241.4050100@php.net> References: <4D99E241.4050100@php.net> Date: Mon, 4 Apr 2011 19:37:44 +0200 X-Google-Sender-Auth: kJ7keknH7AfSZ1QGS-JqfyipnAU Message-ID: To: internals@lists.php.net Cc: Sebastian Bergmann Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Optional $limit argument for debug_backtrace() From: patrickallaert@php.net (Patrick ALLAERT) 2011/4/4 Sebastian Bergmann : > =C2=A0https://gist.github.com/901579 is a patch against trunk that adds a= n > =C2=A0optional $limit argument to debug_backtrace() to limit the number o= f > =C2=A0frames returned. > > =C2=A0Any thoughts? I would then add the same option to debug_print_backtrace(). It could also make sense to test it with a limit greater than the actual de= pth. Cheers, Patrick