2011/4/4 Sebastian Bergmann <sebast...@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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php