Re: Optional $limit argument for debug_backtrace()
| From: | Sebastian Bergmann | Date: | Tue, 05 Apr 2011 05:34:37 +0000 |
| Subject: | Re: Optional $limit argument for debug_backtrace() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51814@lists.php.net to get a copy of this message | ||
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. -- Sebastian Bergmann Co-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/