Re: Optional $limit argument for debug_backtrace()

From: Date: Mon, 04 Apr 2011 17:37:44 +0000
Subject: Re: Optional $limit argument for debug_backtrace()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-51812@lists.php.net to get a copy of this message
2011/4/4 Sebastian Bergmann <sebastian@php.net>: >  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? 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 depth. Cheers, Patrick

« previous php.internals (#51812) next »