2011/4/5 Sebastian Bergmann <sebast...@php.net>: > On 04/04/2011 07:37 PM, Patrick ALLAERT wrote: >> >> I would then add the same option to debug_print_backtrace(). > > Not sure I want to touch debug_print_backtrace() as it does not use > zend_fetch_debug_backtrace(). > >> It could also make sense to test it with a limit greater than the >> actual depth. > > The patch has been updated with an extended test.
Don't also forget to change in the test: [file] => /usr/local/src/php/src/trunk/Zend/tests/debug_backtrace_limit.php to something like: [file] => %s/Zend/tests/debug_backtrace_limit.php Patrick -- Patrick Allaert --- http://code.google.com/p/peclapm/ - Alternative PHP Monitor -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php