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().

They share nothing in terms of code, but well in terms of function definition:

ZEND_FE(debug_backtrace,            arginfo_debug_backtrace)
ZEND_FE(debug_print_backtrace,      arginfo_debug_backtrace)

[snip]

ZEND_BEGIN_ARG_INFO_EX(arginfo_debug_backtrace, 0, 0, 0)
    ZEND_ARG_INFO(0, options)
    ZEND_ARG_INFO(0, limit)
ZEND_END_ARG_INFO()

I think that the feature will be asked soonish if implemented for
debug_backtrace() and not for debug_print_backtrace().

I've implemented it in a gist fork: https://gist.github.com/903309.

Patrick

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to