Return a backtrace array that is simpler and more PW-specific relative to PHP’s debug_backtrace
Available since version 3.0.136.
Usage
// basic usage
$array = Debug::backtrace();
// usage with all arguments
$array = Debug::backtrace(array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
options (optional) | array |
Return value
array
string
API reference based on ProcessWire core version 3.0.236