Sebastian Bergmann wrote:
Chris Trahey schrieb:
using it is current-implimentation specific (i.e. developer needs to
know the format of the array returned)
And adding another language feature is not something the developer needs
to know?
I think the concern is the overhead of capturing the entire stack when
only a specific part is needed.
A simple solution might be something like the following:
debug_backtrace_capture( $level, $field=all, $provide_object=true );
$provide_object would only be necessary with the "all" option for
$field, otherwise if the field was set to "object" then it would be implied.
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php