Function stackTrace
Outputs a stack trace based on the supplied options.
Options
-
depth
- The number of stack frames to return. Defaults to 999 -
args
- Should arguments for functions be shown? If true, the arguments for each method call will be displayed. -
start
- The stack frame to start generating a trace from. Defaults to 1
Package: Cake
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
See:
Located at Cake/basics.php
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
See:
Debugger::trace()
Located at Cake/basics.php
stackTrace( array $options array() )
Parameters summary
array | $options = array() | Format for outputting stack trace |
Returns
-
mixed
Formatted stack trace
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.7/function-stackTrace.html