Function stackTrace
Outputs a stack trace based on the supplied options.
Options
depth- The number of stack frames to return. Defaults to 999args- 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
Copyright:
Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Located at basics.php
License: MIT License
Located at basics.php
stackTrace( array $options [] )
Parameters summary
array |
$options = [] |
Format for outputting stack trace |
Returns
-
mixedFormatted stack trace