Re: Optional $limit argument for debug_backtrace()

From: Date: Tue, 05 Apr 2011 01:56:43 +0000
Subject: Re: Optional $limit argument for debug_backtrace()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-51813@lists.php.net to get a copy of this message
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?


« previous php.internals (#51813) next »