debug_backtraceGenerates a backtrace
&reftitle.description;
arraydebug_backtracedebug_backtrace generates a PHP backtrace.
&reftitle.returnvalues;
Returns an associative array. The possible returned elements
are as follows:
Possible returned elements from debug_backtraceNameTypeDescriptionfunctionstring
The current function name. See also
__FUNCTION__.
lineinteger
The current line number. See also
__LINE__.
filestring
The current file name. See also
__FILE__.
classstring
The current class name. See also
__CLASS__
objectobject
The current object. This element
was added in PHP 5.1.1.
typestring
The current call type. If a method call, "->" is returned. If a static
method call, "::" is returned. If a function call, nothing is returned.
argsarray
If inside a function, this lists the functions arguments. If
inside an included file, this lists the included file name(s).