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? -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php