Re: Optional $limit argument for debug_backtrace()

From: Date: Tue, 05 Apr 2011 09:17:03 +0000
Subject: Re: Optional $limit argument for debug_backtrace()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-51815@lists.php.net to get a copy of this message
2011/4/5 Sebastian Bergmann <sebastian@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

« previous php.internals (#51815) next »