Good idea. Have you considered how Xdebug does this kind of thing (through configuration directives, IIRC--I know it uses such things for var_dump) and whether that might suggest a better or more future-proof approach?

Ben.



On 5/04/11 1:22 AM, Sebastian Bergmann wrote:
https://gist.github.com/901579 is a patch against trunk that adds an
optional $limit argument to debug_backtrace() to limit the number of
frames returned.

Any thoughts?


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

Reply via email to