Re: Optional $limit argument for debug_backtrace()

From: Date: Tue, 05 Apr 2011 13:23:49 +0000
Subject: Re: Optional $limit argument for debug_backtrace()
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-51822@lists.php.net to get a copy of this message
2011/4/5 Sebastian Bergmann <sebastian@php.net>: > On 04/05/2011 01:12 PM, Patrick ALLAERT wrote: >> >> I would, however, refrain from providing erroneous reflection information: >> >> php --rf debug_print_backtrace >> Function [<internal:Core>  function debug_print_backtrace ] { >> >>   - Parameters [2] { >>     Parameter #0 [<optional>  $options ] >>     Parameter #1 [<optional>  $limit ] >>   } >> } > >  I did not touch debug_print_backtrace(). Yes, you did (or plan to) :) Both debug_backtrace() and debug_print_backtrace() uses arginfo_debug_backtrace which you modified to include the "limit" parameter: 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() Patrick

« previous php.internals (#51822) next »